.class public Lrexsee/core/browser/RexseePrompt;
.super Ljava/lang/Object;
.source "RexseePrompt.java"

# interfaces
.implements Lrexsee/core/browser/clazz/JavascriptInterface;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lrexsee/core/browser/RexseePrompt$OnPromptListener;,
        Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;
    }
.end annotation


# static fields
.field private static final INTERFACE_NAME:Ljava/lang/String; = "Prompt"


# instance fields
.field public canceled:Z

.field private final mBrowser:Lrexsee/core/browser/Browser;

.field private final mContext:Landroid/content/Context;

.field private final mDensity:F

.field private final mMap:Ljava/util/HashMap;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Lrexsee/core/browser/RexseePrompt$OnPromptListener;",
            ">;"
        }
    .end annotation
.end field

.field private syncRtn:Ljava/lang/String;


# direct methods
.method public constructor <init>(Lrexsee/core/browser/Browser;)V
    .locals 3
    .param p1, "browser"    # Lrexsee/core/browser/Browser;

    .prologue
    .line 77
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 74
    const/4 v0, 0x0

    iput-boolean v0, p0, Lrexsee/core/browser/RexseePrompt;->canceled:Z

    .line 75
    const/4 v0, 0x0

    iput-object v0, p0, Lrexsee/core/browser/RexseePrompt;->syncRtn:Ljava/lang/String;

    .line 78
    invoke-virtual {p1}, Lrexsee/core/browser/Browser;->getContext()Landroid/content/Context;

    move-result-object v0

    iput-object v0, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    .line 79
    iget-object v0, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v0

    iget v0, v0, Landroid/util/DisplayMetrics;->density:F

    iput v0, p0, Lrexsee/core/browser/RexseePrompt;->mDensity:F

    .line 80
    iput-object p1, p0, Lrexsee/core/browser/RexseePrompt;->mBrowser:Lrexsee/core/browser/Browser;

    .line 81
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lrexsee/core/browser/RexseePrompt;->mMap:Ljava/util/HashMap;

    .line 82
    iget-object v0, p0, Lrexsee/core/browser/RexseePrompt;->mMap:Ljava/util/HashMap;

    const-string v1, "prompt"

    new-instance v2, Lrexsee/core/browser/RexseePrompt$1;

    invoke-direct {v2, p0}, Lrexsee/core/browser/RexseePrompt$1;-><init>(Lrexsee/core/browser/RexseePrompt;)V

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 88
    iget-object v0, p0, Lrexsee/core/browser/RexseePrompt;->mMap:Ljava/util/HashMap;

    const-string v1, "3button"

    new-instance v2, Lrexsee/core/browser/RexseePrompt$2;

    invoke-direct {v2, p0}, Lrexsee/core/browser/RexseePrompt$2;-><init>(Lrexsee/core/browser/RexseePrompt;)V

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 94
    iget-object v0, p0, Lrexsee/core/browser/RexseePrompt;->mMap:Ljava/util/HashMap;

    const-string v1, "date"

    new-instance v2, Lrexsee/core/browser/RexseePrompt$3;

    invoke-direct {v2, p0}, Lrexsee/core/browser/RexseePrompt$3;-><init>(Lrexsee/core/browser/RexseePrompt;)V

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 100
    iget-object v0, p0, Lrexsee/core/browser/RexseePrompt;->mMap:Ljava/util/HashMap;

    const-string v1, "time"

    new-instance v2, Lrexsee/core/browser/RexseePrompt$4;

    invoke-direct {v2, p0}, Lrexsee/core/browser/RexseePrompt$4;-><init>(Lrexsee/core/browser/RexseePrompt;)V

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 106
    iget-object v0, p0, Lrexsee/core/browser/RexseePrompt;->mMap:Ljava/util/HashMap;

    const-string v1, "slider"

    new-instance v2, Lrexsee/core/browser/RexseePrompt$5;

    invoke-direct {v2, p0}, Lrexsee/core/browser/RexseePrompt$5;-><init>(Lrexsee/core/browser/RexseePrompt;)V

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 112
    iget-object v0, p0, Lrexsee/core/browser/RexseePrompt;->mMap:Ljava/util/HashMap;

    const-string v1, "rating"

    new-instance v2, Lrexsee/core/browser/RexseePrompt$6;

    invoke-direct {v2, p0}, Lrexsee/core/browser/RexseePrompt$6;-><init>(Lrexsee/core/browser/RexseePrompt;)V

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 118
    iget-object v0, p0, Lrexsee/core/browser/RexseePrompt;->mMap:Ljava/util/HashMap;

    const-string v1, "radio"

    new-instance v2, Lrexsee/core/browser/RexseePrompt$7;

    invoke-direct {v2, p0}, Lrexsee/core/browser/RexseePrompt$7;-><init>(Lrexsee/core/browser/RexseePrompt;)V

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 124
    iget-object v0, p0, Lrexsee/core/browser/RexseePrompt;->mMap:Ljava/util/HashMap;

    const-string v1, "checkbox"

    new-instance v2, Lrexsee/core/browser/RexseePrompt$8;

    invoke-direct {v2, p0}, Lrexsee/core/browser/RexseePrompt$8;-><init>(Lrexsee/core/browser/RexseePrompt;)V

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 130
    iget-object v0, p0, Lrexsee/core/browser/RexseePrompt;->mMap:Ljava/util/HashMap;

    const-string v1, "menu"

    new-instance v2, Lrexsee/core/browser/RexseePrompt$9;

    invoke-direct {v2, p0}, Lrexsee/core/browser/RexseePrompt$9;-><init>(Lrexsee/core/browser/RexseePrompt;)V

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 136
    iget-object v0, p0, Lrexsee/core/browser/RexseePrompt;->mMap:Ljava/util/HashMap;

    const-string v1, "color"

    new-instance v2, Lrexsee/core/browser/RexseePrompt$10;

    invoke-direct {v2, p0}, Lrexsee/core/browser/RexseePrompt$10;-><init>(Lrexsee/core/browser/RexseePrompt;)V

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 142
    iget-object v0, p0, Lrexsee/core/browser/RexseePrompt;->mMap:Ljava/util/HashMap;

    const-string v1, "country"

    new-instance v2, Lrexsee/core/browser/RexseePrompt$11;

    invoke-direct {v2, p0}, Lrexsee/core/browser/RexseePrompt$11;-><init>(Lrexsee/core/browser/RexseePrompt;)V

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 149
    iget-object v0, p0, Lrexsee/core/browser/RexseePrompt;->mMap:Ljava/util/HashMap;

    const-string v1, "city"

    new-instance v2, Lrexsee/core/browser/RexseePrompt$12;

    invoke-direct {v2, p0}, Lrexsee/core/browser/RexseePrompt$12;-><init>(Lrexsee/core/browser/RexseePrompt;)V

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 156
    iget-object v0, p0, Lrexsee/core/browser/RexseePrompt;->mMap:Ljava/util/HashMap;

    const-string v1, "sex"

    new-instance v2, Lrexsee/core/browser/RexseePrompt$13;

    invoke-direct {v2, p0}, Lrexsee/core/browser/RexseePrompt$13;-><init>(Lrexsee/core/browser/RexseePrompt;)V

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 165
    iget-object v0, p0, Lrexsee/core/browser/RexseePrompt;->mMap:Ljava/util/HashMap;

    const-string v1, "symbolicanimal"

    new-instance v2, Lrexsee/core/browser/RexseePrompt$14;

    invoke-direct {v2, p0}, Lrexsee/core/browser/RexseePrompt$14;-><init>(Lrexsee/core/browser/RexseePrompt;)V

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 174
    iget-object v0, p0, Lrexsee/core/browser/RexseePrompt;->mMap:Ljava/util/HashMap;

    const-string v1, "symbolicstar"

    new-instance v2, Lrexsee/core/browser/RexseePrompt$15;

    invoke-direct {v2, p0}, Lrexsee/core/browser/RexseePrompt$15;-><init>(Lrexsee/core/browser/RexseePrompt;)V

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 183
    iget-object v0, p0, Lrexsee/core/browser/RexseePrompt;->mMap:Ljava/util/HashMap;

    const-string v1, "birthday"

    new-instance v2, Lrexsee/core/browser/RexseePrompt$16;

    invoke-direct {v2, p0}, Lrexsee/core/browser/RexseePrompt$16;-><init>(Lrexsee/core/browser/RexseePrompt;)V

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 191
    iget-object v0, p0, Lrexsee/core/browser/RexseePrompt;->mMap:Ljava/util/HashMap;

    const-string v1, "weekday"

    new-instance v2, Lrexsee/core/browser/RexseePrompt$17;

    invoke-direct {v2, p0}, Lrexsee/core/browser/RexseePrompt$17;-><init>(Lrexsee/core/browser/RexseePrompt;)V

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 200
    iget-object v0, p0, Lrexsee/core/browser/RexseePrompt;->mMap:Ljava/util/HashMap;

    const-string v1, "weekdays"

    new-instance v2, Lrexsee/core/browser/RexseePrompt$18;

    invoke-direct {v2, p0}, Lrexsee/core/browser/RexseePrompt$18;-><init>(Lrexsee/core/browser/RexseePrompt;)V

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 209
    return-void
.end method

.method static synthetic access$0(Lrexsee/core/browser/RexseePrompt;Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V
    .locals 0

    .prologue
    .line 1002
    invoke-direct {p0, p1, p2}, Lrexsee/core/browser/RexseePrompt;->showPrompt(Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V

    return-void
.end method

.method static synthetic access$1(Lrexsee/core/browser/RexseePrompt;Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V
    .locals 0

    .prologue
    .line 1101
    invoke-direct {p0, p1, p2}, Lrexsee/core/browser/RexseePrompt;->show3Button(Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V

    return-void
.end method

.method static synthetic access$10(Lrexsee/core/browser/RexseePrompt;Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V
    .locals 0

    .prologue
    .line 304
    invoke-direct {p0, p1, p2}, Lrexsee/core/browser/RexseePrompt;->showCountryOrCity(Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V

    return-void
.end method

.method static synthetic access$11(Lrexsee/core/browser/RexseePrompt;Ljava/lang/String;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V
    .locals 0

    .prologue
    .line 1281
    invoke-direct {p0, p1, p2}, Lrexsee/core/browser/RexseePrompt;->error(Ljava/lang/String;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V

    return-void
.end method

.method static synthetic access$12(Lrexsee/core/browser/RexseePrompt;)Landroid/content/Context;
    .locals 1

    .prologue
    .line 69
    iget-object v0, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic access$13(Lrexsee/core/browser/RexseePrompt;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 75
    iput-object p1, p0, Lrexsee/core/browser/RexseePrompt;->syncRtn:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$2(Lrexsee/core/browser/RexseePrompt;Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V
    .locals 0

    .prologue
    .line 1140
    invoke-direct {p0, p1, p2}, Lrexsee/core/browser/RexseePrompt;->showDate(Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V

    return-void
.end method

.method static synthetic access$3(Lrexsee/core/browser/RexseePrompt;Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V
    .locals 0

    .prologue
    .line 1217
    invoke-direct {p0, p1, p2}, Lrexsee/core/browser/RexseePrompt;->showTime(Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V

    return-void
.end method

.method static synthetic access$4(Lrexsee/core/browser/RexseePrompt;Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V
    .locals 0

    .prologue
    .line 932
    invoke-direct {p0, p1, p2}, Lrexsee/core/browser/RexseePrompt;->showSlider(Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V

    return-void
.end method

.method static synthetic access$5(Lrexsee/core/browser/RexseePrompt;Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V
    .locals 0

    .prologue
    .line 236
    invoke-direct {p0, p1, p2}, Lrexsee/core/browser/RexseePrompt;->showRating(Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V

    return-void
.end method

.method static synthetic access$6(Lrexsee/core/browser/RexseePrompt;Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V
    .locals 0

    .prologue
    .line 842
    invoke-direct {p0, p1, p2}, Lrexsee/core/browser/RexseePrompt;->showRadio(Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V

    return-void
.end method

.method static synthetic access$7(Lrexsee/core/browser/RexseePrompt;Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V
    .locals 0

    .prologue
    .line 724
    invoke-direct {p0, p1, p2}, Lrexsee/core/browser/RexseePrompt;->showCheckBox(Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V

    return-void
.end method

.method static synthetic access$8(Lrexsee/core/browser/RexseePrompt;Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V
    .locals 0

    .prologue
    .line 700
    invoke-direct {p0, p1, p2}, Lrexsee/core/browser/RexseePrompt;->showMenu(Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V

    return-void
.end method

.method static synthetic access$9(Lrexsee/core/browser/RexseePrompt;Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V
    .locals 0

    .prologue
    .line 475
    invoke-direct {p0, p1, p2}, Lrexsee/core/browser/RexseePrompt;->showColor(Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V

    return-void
.end method

.method private error(Ljava/lang/String;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V
    .locals 4
    .param p1, "message"    # Ljava/lang/String;
    .param p2, "returnListener"    # Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;

    .prologue
    .line 1282
    new-instance v1, Landroid/app/AlertDialog$Builder;

    iget-object v2, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    invoke-direct {v1, v2}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    invoke-virtual {v1}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v0

    .line 1283
    .local v0, "dialog":Landroid/app/AlertDialog;
    iget-object v1, p0, Lrexsee/core/browser/RexseePrompt;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v1, v1, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v1, v1, Lrexsee/core/application/RexseeApplication;->icon:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog;->setIcon(Landroid/graphics/drawable/Drawable;)V

    .line 1284
    sget-object v1, Lrexsee/core/lang/RexseeLanguage;->TITLE_ERROR:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog;->setTitle(Ljava/lang/CharSequence;)V

    .line 1285
    invoke-virtual {v0, p1}, Landroid/app/AlertDialog;->setMessage(Ljava/lang/CharSequence;)V

    .line 1286
    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog;->setCancelable(Z)V

    .line 1287
    const/4 v1, -0x1

    iget-object v2, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x104000a

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v2

    new-instance v3, Lrexsee/core/browser/RexseePrompt$59;

    invoke-direct {v3, p0, p2}, Lrexsee/core/browser/RexseePrompt$59;-><init>(Lrexsee/core/browser/RexseePrompt;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V

    invoke-virtual {v0, v1, v2, v3}, Landroid/app/AlertDialog;->setButton(ILjava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    .line 1294
    invoke-virtual {v0}, Landroid/app/AlertDialog;->show()V

    .line 1295
    return-void
.end method

.method private scale(I)I
    .locals 2
    .param p1, "pixel"    # I

    .prologue
    .line 212
    iget v0, p0, Lrexsee/core/browser/RexseePrompt;->mDensity:F

    int-to-float v1, p1

    mul-float/2addr v0, v1

    invoke-static {v0}, Ljava/lang/Math;->round(F)I

    move-result v0

    return v0
.end method

.method private show3Button(Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V
    .locals 12
    .param p1, "argumentsSheet"    # Lrexsee/core/browser/clazz/PromptArgumentsSheet;
    .param p2, "returnListener"    # Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;

    .prologue
    const/4 v11, 0x2

    const/4 v10, 0x1

    const/4 v9, 0x0

    const-string v8, ""

    .line 1102
    new-instance v1, Landroid/app/AlertDialog$Builder;

    iget-object v2, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    invoke-direct {v1, v2}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    invoke-virtual {v1}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v7

    .line 1103
    .local v7, "dialog":Landroid/app/AlertDialog;
    iget-object v1, p0, Lrexsee/core/browser/RexseePrompt;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v1, v1, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v1, v1, Lrexsee/core/application/RexseeApplication;->icon:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v7, v1}, Landroid/app/AlertDialog;->setIcon(Landroid/graphics/drawable/Drawable;)V

    .line 1104
    iget-object v1, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->title:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v1

    invoke-virtual {v7, v1}, Landroid/app/AlertDialog;->setTitle(Ljava/lang/CharSequence;)V

    .line 1105
    iget-object v1, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->message:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v1

    invoke-virtual {v7, v1}, Landroid/app/AlertDialog;->setMessage(Ljava/lang/CharSequence;)V

    .line 1106
    invoke-virtual {v7, v9}, Landroid/app/AlertDialog;->setCancelable(Z)V

    .line 1107
    new-instance v1, Lrexsee/core/browser/RexseePrompt$51;

    invoke-direct {v1, p0}, Lrexsee/core/browser/RexseePrompt$51;-><init>(Lrexsee/core/browser/RexseePrompt;)V

    invoke-virtual {v7, v1}, Landroid/app/AlertDialog;->setOnKeyListener(Landroid/content/DialogInterface$OnKeyListener;)V

    .line 1114
    iget-object v6, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->options:[Ljava/lang/String;

    .line 1115
    .local v6, "buttons":[Ljava/lang/String;
    if-eqz v6, :cond_3

    array-length v1, v6

    if-lt v1, v10, :cond_3

    aget-object v1, v6, v9

    move-object v3, v1

    .line 1116
    .local v3, "buttonPositive":Ljava/lang/String;
    :goto_0
    if-eqz v6, :cond_4

    array-length v1, v6

    if-lt v1, v11, :cond_4

    aget-object v1, v6, v10

    move-object v4, v1

    .line 1117
    .local v4, "buttonNeutral":Ljava/lang/String;
    :goto_1
    if-eqz v6, :cond_5

    array-length v1, v6

    const/4 v2, 0x3

    if-lt v1, v2, :cond_5

    aget-object v1, v6, v11

    move-object v5, v1

    .line 1118
    .local v5, "buttonNegative":Ljava/lang/String;
    :goto_2
    new-instance v0, Lrexsee/core/browser/RexseePrompt$52;

    move-object v1, p0

    move-object v2, p2

    invoke-direct/range {v0 .. v5}, Lrexsee/core/browser/RexseePrompt$52;-><init>(Lrexsee/core/browser/RexseePrompt;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    .line 1135
    .local v0, "listener":Landroid/content/DialogInterface$OnClickListener;
    const-string v1, ""

    if-eq v3, v8, :cond_0

    const/4 v1, -0x1

    invoke-static {v3}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v2

    invoke-virtual {v7, v1, v2, v0}, Landroid/app/AlertDialog;->setButton(ILjava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    .line 1136
    :cond_0
    const-string v1, ""

    if-eq v4, v8, :cond_1

    const/4 v1, -0x3

    invoke-static {v4}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v2

    invoke-virtual {v7, v1, v2, v0}, Landroid/app/AlertDialog;->setButton(ILjava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    .line 1137
    :cond_1
    const-string v1, ""

    if-eq v5, v8, :cond_2

    const/4 v1, -0x2

    invoke-static {v5}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v2

    invoke-virtual {v7, v1, v2, v0}, Landroid/app/AlertDialog;->setButton(ILjava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    .line 1138
    :cond_2
    invoke-virtual {v7}, Landroid/app/AlertDialog;->show()V

    .line 1139
    return-void

    .line 1115
    .end local v0    # "listener":Landroid/content/DialogInterface$OnClickListener;
    .end local v3    # "buttonPositive":Ljava/lang/String;
    .end local v4    # "buttonNeutral":Ljava/lang/String;
    .end local v5    # "buttonNegative":Ljava/lang/String;
    :cond_3
    const-string v1, ""

    move-object v3, v8

    goto :goto_0

    .line 1116
    .restart local v3    # "buttonPositive":Ljava/lang/String;
    :cond_4
    const-string v1, ""

    move-object v4, v8

    goto :goto_1

    .line 1117
    .restart local v4    # "buttonNeutral":Ljava/lang/String;
    :cond_5
    const-string v1, ""

    move-object v5, v8

    goto :goto_2
.end method

.method private showCheckBox(Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V
    .locals 21
    .param p1, "argumentsSheet"    # Lrexsee/core/browser/clazz/PromptArgumentsSheet;
    .param p2, "returnListener"    # Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;

    .prologue
    .line 725
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->options:[Ljava/lang/String;

    move-object/from16 v17, v0

    if-nez v17, :cond_0

    .line 726
    const-string v17, "No options found for checkbox dialog."

    move-object/from16 v0, p0

    move-object/from16 v1, v17

    move-object/from16 v2, p2

    invoke-direct {v0, v1, v2}, Lrexsee/core/browser/RexseePrompt;->error(Ljava/lang/String;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V

    .line 841
    :goto_0
    return-void

    .line 729
    :cond_0
    new-instance v12, Landroid/graphics/drawable/GradientDrawable;

    sget-object v17, Landroid/graphics/drawable/GradientDrawable$Orientation;->LEFT_RIGHT:Landroid/graphics/drawable/GradientDrawable$Orientation;

    const/16 v18, 0x3

    move/from16 v0, v18

    new-array v0, v0, [I

    move-object/from16 v18, v0

    const/16 v19, 0x0

    const-string v20, "#888888"

    invoke-static/range {v20 .. v20}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v20

    aput v20, v18, v19

    const/16 v19, 0x1

    const-string v20, "#AAAAAA"

    invoke-static/range {v20 .. v20}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v20

    aput v20, v18, v19

    const/16 v19, 0x2

    const/16 v20, -0x1

    aput v20, v18, v19

    move-object v0, v12

    move-object/from16 v1, v17

    move-object/from16 v2, v18

    invoke-direct {v0, v1, v2}, Landroid/graphics/drawable/GradientDrawable;-><init>(Landroid/graphics/drawable/GradientDrawable$Orientation;[I)V

    .line 730
    .local v12, "lineDrawable":Landroid/graphics/drawable/GradientDrawable;
    new-instance v17, Landroid/app/AlertDialog$Builder;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object/from16 v18, v0

    invoke-direct/range {v17 .. v18}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    invoke-virtual/range {v17 .. v17}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v7

    .line 731
    .local v7, "dialog":Landroid/app/AlertDialog;
    const/16 v17, 0x0

    move-object v0, v7

    move/from16 v1, v17

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog;->setCancelable(Z)V

    .line 732
    new-instance v17, Lrexsee/core/browser/RexseePrompt$38;

    move-object/from16 v0, v17

    move-object/from16 v1, p0

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt$38;-><init>(Lrexsee/core/browser/RexseePrompt;)V

    move-object v0, v7

    move-object/from16 v1, v17

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog;->setOnKeyListener(Landroid/content/DialogInterface$OnKeyListener;)V

    .line 739
    const/16 v17, 0x1

    move-object v0, v7

    move/from16 v1, v17

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog;->setInverseBackgroundForced(Z)V

    .line 740
    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mBrowser:Lrexsee/core/browser/Browser;

    move-object/from16 v17, v0

    move-object/from16 v0, v17

    iget-object v0, v0, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    move-object/from16 v17, v0

    move-object/from16 v0, v17

    iget-object v0, v0, Lrexsee/core/application/RexseeApplication;->icon:Landroid/graphics/drawable/Drawable;

    move-object/from16 v17, v0

    move-object v0, v7

    move-object/from16 v1, v17

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog;->setIcon(Landroid/graphics/drawable/Drawable;)V

    .line 741
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->title:Ljava/lang/String;

    move-object/from16 v17, v0

    invoke-static/range {v17 .. v17}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v17

    move-object v0, v7

    move-object/from16 v1, v17

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog;->setTitle(Ljava/lang/CharSequence;)V

    .line 742
    new-instance v10, Landroid/widget/LinearLayout;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object/from16 v17, v0

    move-object v0, v10

    move-object/from16 v1, v17

    invoke-direct {v0, v1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    .line 743
    .local v10, "layout":Landroid/widget/LinearLayout;
    const/16 v17, 0x1

    move-object v0, v10

    move/from16 v1, v17

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOrientation(I)V

    .line 744
    const/16 v17, 0xa

    move-object/from16 v0, p0

    move/from16 v1, v17

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v17

    const/16 v18, 0x0

    const/16 v19, 0xa

    move-object/from16 v0, p0

    move/from16 v1, v19

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v19

    const/16 v20, 0x0

    move-object v0, v10

    move/from16 v1, v17

    move/from16 v2, v18

    move/from16 v3, v19

    move/from16 v4, v20

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    .line 745
    const/16 v17, 0x118

    move-object/from16 v0, p0

    move/from16 v1, v17

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v17

    move-object v0, v10

    move/from16 v1, v17

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setMinimumWidth(I)V

    .line 746
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->message:Ljava/lang/String;

    move-object/from16 v17, v0

    const-string v18, ""

    invoke-virtual/range {v17 .. v18}, Ljava/lang/String;->compareTo(Ljava/lang/String;)I

    move-result v17

    if-eqz v17, :cond_1

    .line 747
    new-instance v15, Landroid/widget/TextView;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object/from16 v17, v0

    move-object v0, v15

    move-object/from16 v1, v17

    invoke-direct {v0, v1}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    .line 748
    .local v15, "text":Landroid/widget/TextView;
    new-instance v17, Landroid/widget/LinearLayout$LayoutParams;

    const/16 v18, -0x1

    const/16 v19, -0x2

    invoke-direct/range {v17 .. v19}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    move-object v0, v10

    move-object v1, v15

    move-object/from16 v2, v17

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 749
    const/16 v17, 0x0

    const/16 v18, 0xf

    move-object/from16 v0, p0

    move/from16 v1, v18

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v18

    const/16 v19, 0x0

    const/16 v20, 0xf

    move-object/from16 v0, p0

    move/from16 v1, v20

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v20

    move-object v0, v15

    move/from16 v1, v17

    move/from16 v2, v18

    move/from16 v3, v19

    move/from16 v4, v20

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/widget/TextView;->setPadding(IIII)V

    .line 750
    const/high16 v17, 0x41a00000    # 20.0f

    move-object v0, v15

    move/from16 v1, v17

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextSize(F)V

    .line 751
    const/high16 v17, -0x1000000

    move-object v0, v15

    move/from16 v1, v17

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    .line 752
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->message:Ljava/lang/String;

    move-object/from16 v17, v0

    invoke-static/range {v17 .. v17}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v17

    move-object v0, v15

    move-object/from16 v1, v17

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 753
    new-instance v11, Landroid/widget/ImageView;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object/from16 v17, v0

    move-object v0, v11

    move-object/from16 v1, v17

    invoke-direct {v0, v1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    .line 754
    .local v11, "line":Landroid/widget/ImageView;
    invoke-virtual {v11, v12}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 755
    new-instance v17, Landroid/widget/LinearLayout$LayoutParams;

    const/16 v18, -0x1

    const/16 v19, 0x1

    invoke-direct/range {v17 .. v19}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    move-object v0, v10

    move-object v1, v11

    move-object/from16 v2, v17

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 757
    .end local v11    # "line":Landroid/widget/ImageView;
    .end local v15    # "text":Landroid/widget/TextView;
    :cond_1
    new-instance v6, Landroid/widget/LinearLayout;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object/from16 v17, v0

    move-object v0, v6

    move-object/from16 v1, v17

    invoke-direct {v0, v1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    .line 758
    .local v6, "checkboxes":Landroid/widget/LinearLayout;
    const/16 v17, 0x1

    move-object v0, v6

    move/from16 v1, v17

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOrientation(I)V

    .line 759
    move-object/from16 v0, p1

    iget-boolean v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->selectAll:Z

    move/from16 v17, v0

    if-eqz v17, :cond_2

    .line 760
    new-instance v8, Landroid/widget/LinearLayout;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object/from16 v17, v0

    move-object v0, v8

    move-object/from16 v1, v17

    invoke-direct {v0, v1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    .line 761
    .local v8, "footerLayout":Landroid/widget/LinearLayout;
    const/16 v17, 0x0

    move-object v0, v8

    move/from16 v1, v17

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOrientation(I)V

    .line 762
    const/16 v17, 0x0

    const/16 v18, 0x5

    move-object/from16 v0, p0

    move/from16 v1, v18

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v18

    const/16 v19, 0x0

    const/16 v20, 0x0

    move-object v0, v8

    move/from16 v1, v17

    move/from16 v2, v18

    move/from16 v3, v19

    move/from16 v4, v20

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    .line 763
    new-instance v16, Landroid/widget/Button;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object/from16 v17, v0

    invoke-direct/range {v16 .. v17}, Landroid/widget/Button;-><init>(Landroid/content/Context;)V

    .line 764
    .local v16, "yesButton":Landroid/widget/Button;
    new-instance v13, Landroid/widget/Button;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object/from16 v17, v0

    move-object v0, v13

    move-object/from16 v1, v17

    invoke-direct {v0, v1}, Landroid/widget/Button;-><init>(Landroid/content/Context;)V

    .line 765
    .local v13, "noButton":Landroid/widget/Button;
    sget-object v17, Lrexsee/core/lang/RexseeLanguage;->ACTION_SELECT_ALL:Ljava/lang/String;

    invoke-virtual/range {v16 .. v17}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    .line 766
    new-instance v17, Lrexsee/core/browser/RexseePrompt$39;

    move-object/from16 v0, v17

    move-object/from16 v1, p0

    move-object/from16 v2, p1

    move-object v3, v6

    invoke-direct {v0, v1, v2, v3}, Lrexsee/core/browser/RexseePrompt$39;-><init>(Lrexsee/core/browser/RexseePrompt;Lrexsee/core/browser/clazz/PromptArgumentsSheet;Landroid/widget/LinearLayout;)V

    invoke-virtual/range {v16 .. v17}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 775
    sget-object v17, Lrexsee/core/lang/RexseeLanguage;->ACTION_UNSELECT_ALL:Ljava/lang/String;

    move-object v0, v13

    move-object/from16 v1, v17

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    .line 776
    new-instance v17, Lrexsee/core/browser/RexseePrompt$40;

    move-object/from16 v0, v17

    move-object/from16 v1, p0

    move-object/from16 v2, p1

    move-object v3, v6

    invoke-direct {v0, v1, v2, v3}, Lrexsee/core/browser/RexseePrompt$40;-><init>(Lrexsee/core/browser/RexseePrompt;Lrexsee/core/browser/clazz/PromptArgumentsSheet;Landroid/widget/LinearLayout;)V

    move-object v0, v13

    move-object/from16 v1, v17

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 785
    new-instance v17, Landroid/widget/LinearLayout$LayoutParams;

    const/16 v18, -0x1

    const/16 v19, -0x2

    const/high16 v20, 0x3f800000    # 1.0f

    invoke-direct/range {v17 .. v20}, Landroid/widget/LinearLayout$LayoutParams;-><init>(IIF)V

    move-object v0, v8

    move-object/from16 v1, v16

    move-object/from16 v2, v17

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 786
    new-instance v17, Landroid/widget/LinearLayout$LayoutParams;

    const/16 v18, -0x1

    const/16 v19, -0x2

    const/high16 v20, 0x3f800000    # 1.0f

    invoke-direct/range {v17 .. v20}, Landroid/widget/LinearLayout$LayoutParams;-><init>(IIF)V

    move-object v0, v8

    move-object v1, v13

    move-object/from16 v2, v17

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 787
    new-instance v17, Landroid/widget/LinearLayout$LayoutParams;

    const/16 v18, -0x1

    const/16 v19, -0x2

    invoke-direct/range {v17 .. v19}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    move-object v0, v10

    move-object v1, v8

    move-object/from16 v2, v17

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 788
    new-instance v11, Landroid/widget/ImageView;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object/from16 v17, v0

    move-object v0, v11

    move-object/from16 v1, v17

    invoke-direct {v0, v1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    .line 789
    .restart local v11    # "line":Landroid/widget/ImageView;
    invoke-virtual {v11, v12}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 790
    const/16 v17, 0x0

    move-object v0, v11

    move/from16 v1, v17

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setClickable(Z)V

    .line 791
    new-instance v17, Landroid/widget/LinearLayout$LayoutParams;

    const/16 v18, -0x1

    const/16 v19, 0x1

    invoke-direct/range {v17 .. v19}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    move-object v0, v10

    move-object v1, v11

    move-object/from16 v2, v17

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 793
    .end local v8    # "footerLayout":Landroid/widget/LinearLayout;
    .end local v11    # "line":Landroid/widget/ImageView;
    .end local v13    # "noButton":Landroid/widget/Button;
    .end local v16    # "yesButton":Landroid/widget/Button;
    :cond_2
    const/4 v9, 0x0

    .local v9, "i":I
    :goto_1
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->options:[Ljava/lang/String;

    move-object/from16 v17, v0

    move-object/from16 v0, v17

    array-length v0, v0

    move/from16 v17, v0

    move v0, v9

    move/from16 v1, v17

    if-lt v0, v1, :cond_4

    .line 810
    new-instance v17, Landroid/widget/LinearLayout$LayoutParams;

    const/16 v18, -0x1

    const/16 v19, -0x2

    invoke-direct/range {v17 .. v19}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    move-object v0, v10

    move-object v1, v6

    move-object/from16 v2, v17

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 811
    new-instance v14, Landroid/widget/ScrollView;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object/from16 v17, v0

    move-object v0, v14

    move-object/from16 v1, v17

    invoke-direct {v0, v1}, Landroid/widget/ScrollView;-><init>(Landroid/content/Context;)V

    .line 812
    .local v14, "scroller":Landroid/widget/ScrollView;
    const/16 v17, 0x0

    move-object v0, v14

    move/from16 v1, v17

    invoke-virtual {v0, v1}, Landroid/widget/ScrollView;->setVerticalFadingEdgeEnabled(Z)V

    .line 813
    const/16 v17, 0x0

    move-object v0, v14

    move/from16 v1, v17

    invoke-virtual {v0, v1}, Landroid/widget/ScrollView;->setHorizontalFadingEdgeEnabled(Z)V

    .line 814
    invoke-virtual {v14, v10}, Landroid/widget/ScrollView;->addView(Landroid/view/View;)V

    .line 815
    invoke-virtual {v7, v14}, Landroid/app/AlertDialog;->setView(Landroid/view/View;)V

    .line 816
    const/16 v17, -0x1

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object/from16 v18, v0

    invoke-virtual/range {v18 .. v18}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v18

    const v19, 0x104000a

    invoke-virtual/range {v18 .. v19}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v18

    new-instance v19, Lrexsee/core/browser/RexseePrompt$41;

    move-object/from16 v0, v19

    move-object/from16 v1, p0

    move-object/from16 v2, p1

    move-object v3, v6

    move-object/from16 v4, p2

    invoke-direct {v0, v1, v2, v3, v4}, Lrexsee/core/browser/RexseePrompt$41;-><init>(Lrexsee/core/browser/RexseePrompt;Lrexsee/core/browser/clazz/PromptArgumentsSheet;Landroid/widget/LinearLayout;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V

    move-object v0, v7

    move/from16 v1, v17

    move-object/from16 v2, v18

    move-object/from16 v3, v19

    invoke-virtual {v0, v1, v2, v3}, Landroid/app/AlertDialog;->setButton(ILjava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    .line 831
    move-object/from16 v0, p1

    iget-boolean v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->cancelable:Z

    move/from16 v17, v0

    if-eqz v17, :cond_3

    .line 832
    const/16 v17, -0x2

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object/from16 v18, v0

    invoke-virtual/range {v18 .. v18}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v18

    const/high16 v19, 0x1040000

    invoke-virtual/range {v18 .. v19}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v18

    new-instance v19, Lrexsee/core/browser/RexseePrompt$42;

    move-object/from16 v0, v19

    move-object/from16 v1, p0

    move-object/from16 v2, p2

    invoke-direct {v0, v1, v2}, Lrexsee/core/browser/RexseePrompt$42;-><init>(Lrexsee/core/browser/RexseePrompt;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V

    move-object v0, v7

    move/from16 v1, v17

    move-object/from16 v2, v18

    move-object/from16 v3, v19

    invoke-virtual {v0, v1, v2, v3}, Landroid/app/AlertDialog;->setButton(ILjava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    .line 840
    :cond_3
    invoke-virtual {v7}, Landroid/app/AlertDialog;->show()V

    goto/16 :goto_0

    .line 794
    .end local v14    # "scroller":Landroid/widget/ScrollView;
    :cond_4
    if-eqz v9, :cond_5

    .line 795
    new-instance v11, Landroid/widget/ImageView;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object/from16 v17, v0

    move-object v0, v11

    move-object/from16 v1, v17

    invoke-direct {v0, v1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    .line 796
    .restart local v11    # "line":Landroid/widget/ImageView;
    invoke-virtual {v11, v12}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 797
    const/16 v17, 0x0

    move-object v0, v11

    move/from16 v1, v17

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setClickable(Z)V

    .line 798
    new-instance v17, Landroid/widget/LinearLayout$LayoutParams;

    const/16 v18, -0x1

    const/16 v19, 0x1

    invoke-direct/range {v17 .. v19}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    move-object v0, v6

    move-object v1, v11

    move-object/from16 v2, v17

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 800
    .end local v11    # "line":Landroid/widget/ImageView;
    :cond_5
    new-instance v5, Landroid/widget/CheckBox;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object/from16 v17, v0

    move-object v0, v5

    move-object/from16 v1, v17

    invoke-direct {v0, v1}, Landroid/widget/CheckBox;-><init>(Landroid/content/Context;)V

    .line 801
    .local v5, "b":Landroid/widget/CheckBox;
    invoke-virtual {v5, v9}, Landroid/widget/CheckBox;->setId(I)V

    .line 802
    const/16 v17, 0x28

    move-object/from16 v0, p0

    move/from16 v1, v17

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v17

    const/16 v18, 0xa

    move-object/from16 v0, p0

    move/from16 v1, v18

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v18

    const/16 v19, 0xa

    move-object/from16 v0, p0

    move/from16 v1, v19

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v19

    const/16 v20, 0xa

    move-object/from16 v0, p0

    move/from16 v1, v20

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v20

    move-object v0, v5

    move/from16 v1, v17

    move/from16 v2, v18

    move/from16 v3, v19

    move/from16 v4, v20

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/widget/CheckBox;->setPadding(IIII)V

    .line 803
    const/16 v17, 0x3c

    move-object/from16 v0, p0

    move/from16 v1, v17

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v17

    move-object v0, v5

    move/from16 v1, v17

    invoke-virtual {v0, v1}, Landroid/widget/CheckBox;->setMinimumHeight(I)V

    .line 804
    const/high16 v17, 0x41a00000    # 20.0f

    move-object v0, v5

    move/from16 v1, v17

    invoke-virtual {v0, v1}, Landroid/widget/CheckBox;->setTextSize(F)V

    .line 805
    const/high16 v17, -0x1000000

    move-object v0, v5

    move/from16 v1, v17

    invoke-virtual {v0, v1}, Landroid/widget/CheckBox;->setTextColor(I)V

    .line 806
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->options:[Ljava/lang/String;

    move-object/from16 v17, v0

    aget-object v17, v17, v9

    invoke-static/range {v17 .. v17}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v17

    move-object v0, v5

    move-object/from16 v1, v17

    invoke-virtual {v0, v1}, Landroid/widget/CheckBox;->setText(Ljava/lang/CharSequence;)V

    .line 807
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->defaultValue:[Ljava/lang/String;

    move-object/from16 v17, v0

    if-eqz v17, :cond_6

    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->defaultValue:[Ljava/lang/String;

    move-object/from16 v17, v0

    move-object/from16 v0, v17

    array-length v0, v0

    move/from16 v17, v0

    move/from16 v0, v17

    move v1, v9

    if-le v0, v1, :cond_6

    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->defaultValue:[Ljava/lang/String;

    move-object/from16 v17, v0

    aget-object v17, v17, v9

    const-string v18, "true"

    invoke-virtual/range {v17 .. v18}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v17

    if-eqz v17, :cond_6

    const/16 v17, 0x1

    :goto_2
    move-object v0, v5

    move/from16 v1, v17

    invoke-virtual {v0, v1}, Landroid/widget/CheckBox;->setChecked(Z)V

    .line 808
    invoke-virtual {v6, v5}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    .line 793
    add-int/lit8 v9, v9, 0x1

    goto/16 :goto_1

    .line 807
    :cond_6
    const/16 v17, 0x0

    goto :goto_2
.end method

.method private showColor(Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V
    .locals 46
    .param p1, "argumentsSheet"    # Lrexsee/core/browser/clazz/PromptArgumentsSheet;
    .param p2, "returnListener"    # Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;

    .prologue
    .line 477
    const/4 v5, 0x6

    move v0, v5

    new-array v0, v0, [[Ljava/lang/String;

    move-object/from16 v24, v0

    const/4 v5, 0x0

    const/16 v6, 0x8

    new-array v6, v6, [Ljava/lang/String;

    const/4 v7, 0x0

    const-string v8, "#312F9D"

    aput-object v8, v6, v7

    const/4 v7, 0x1

    const-string v8, "#0000FF"

    aput-object v8, v6, v7

    const/4 v7, 0x2

    const-string v8, "#0066FF"

    aput-object v8, v6, v7

    const/4 v7, 0x3

    const-string v8, "#00999A"

    aput-object v8, v6, v7

    const/4 v7, 0x4

    const-string v8, "#009CD1"

    aput-object v8, v6, v7

    const/4 v7, 0x5

    const-string v8, "#7ECEFF"

    aput-object v8, v6, v7

    const/4 v7, 0x6

    const-string v8, "#00FFFF"

    aput-object v8, v6, v7

    const/4 v7, 0x7

    const-string v8, "#B4FDFF"

    aput-object v8, v6, v7

    aput-object v6, v24, v5

    const/4 v5, 0x1

    const/16 v6, 0x8

    new-array v6, v6, [Ljava/lang/String;

    const/4 v7, 0x0

    const-string v8, "#003168"

    aput-object v8, v6, v7

    const/4 v7, 0x1

    const-string v8, "#006400"

    aput-object v8, v6, v7

    const/4 v7, 0x2

    const-string v8, "#439A00"

    aput-object v8, v6, v7

    const/4 v7, 0x3

    const-string v8, "#009864"

    aput-object v8, v6, v7

    const/4 v7, 0x4

    const-string v8, "#00FF00"

    aput-object v8, v6, v7

    const/4 v7, 0x5

    const-string v8, "#00CC5D"

    aput-object v8, v6, v7

    const/4 v7, 0x6

    const-string v8, "#4CFE53"

    aput-object v8, v6, v7

    const/4 v7, 0x7

    const-string v8, "#00FF9C"

    aput-object v8, v6, v7

    aput-object v6, v24, v5

    const/4 v5, 0x2

    const/16 v6, 0x8

    new-array v6, v6, [Ljava/lang/String;

    const/4 v7, 0x0

    const-string v8, "#006E69"

    aput-object v8, v6, v7

    const/4 v7, 0x1

    const-string v8, "#636727"

    aput-object v8, v6, v7

    const/4 v7, 0x2

    const-string v8, "#CFCD00"

    aput-object v8, v6, v7

    const/4 v7, 0x3

    const-string v8, "#B4FF57"

    aput-object v8, v6, v7

    const/4 v7, 0x4

    const-string v8, "#FF9900"

    aput-object v8, v6, v7

    const/4 v7, 0x5

    const-string v8, "#FFCD99"

    aput-object v8, v6, v7

    const/4 v7, 0x6

    const-string v8, "#FFFF00"

    aput-object v8, v6, v7

    const/4 v7, 0x7

    const-string v8, "#FEFF94"

    aput-object v8, v6, v7

    aput-object v6, v24, v5

    const/4 v5, 0x3

    const/16 v6, 0x8

    new-array v6, v6, [Ljava/lang/String;

    const/4 v7, 0x0

    const-string v8, "#752F00"

    aput-object v8, v6, v7

    const/4 v7, 0x1

    const-string v8, "#AF0132"

    aput-object v8, v6, v7

    const/4 v7, 0x2

    const-string v8, "#B13100"

    aput-object v8, v6, v7

    const/4 v7, 0x3

    const-string v8, "#960000"

    aput-object v8, v6, v7

    const/4 v7, 0x4

    const-string v8, "#C1001D"

    aput-object v8, v6, v7

    const/4 v7, 0x5

    const-string v8, "#FF0000"

    aput-object v8, v6, v7

    const/4 v7, 0x6

    const-string v8, "#FF2E00"

    aput-object v8, v6, v7

    const/4 v7, 0x7

    const-string v8, "#FF0069"

    aput-object v8, v6, v7

    aput-object v6, v24, v5

    const/4 v5, 0x4

    const/16 v6, 0x8

    new-array v6, v6, [Ljava/lang/String;

    const/4 v7, 0x0

    const-string v8, "#780068"

    aput-object v8, v6, v7

    const/4 v7, 0x1

    const-string v8, "#7000D4"

    aput-object v8, v6, v7

    const/4 v7, 0x2

    const-string v8, "#B32FFF"

    aput-object v8, v6, v7

    const/4 v7, 0x3

    const-string v8, "#B4009D"

    aput-object v8, v6, v7

    const/4 v7, 0x4

    const-string v8, "#FF00FF"

    aput-object v8, v6, v7

    const/4 v7, 0x5

    const-string v8, "#FF66FF"

    aput-object v8, v6, v7

    const/4 v7, 0x6

    const-string v8, "#FF679D"

    aput-object v8, v6, v7

    const/4 v7, 0x7

    const-string v8, "#FFCDFF"

    aput-object v8, v6, v7

    aput-object v6, v24, v5

    const/4 v5, 0x5

    const/16 v6, 0x8

    new-array v6, v6, [Ljava/lang/String;

    const/4 v7, 0x0

    const-string v8, "#000000"

    aput-object v8, v6, v7

    const/4 v7, 0x1

    const-string v8, "#333333"

    aput-object v8, v6, v7

    const/4 v7, 0x2

    const-string v8, "#666666"

    aput-object v8, v6, v7

    const/4 v7, 0x3

    const-string v8, "#888888"

    aput-object v8, v6, v7

    const/4 v7, 0x4

    const-string v8, "#aaaaaa"

    aput-object v8, v6, v7

    const/4 v7, 0x5

    const-string v8, "#cccccc"

    aput-object v8, v6, v7

    const/4 v7, 0x6

    const-string v8, "#e7e7e7"

    aput-object v8, v6, v7

    const/4 v7, 0x7

    const-string v8, "#ffffff"

    aput-object v8, v6, v7

    aput-object v6, v24, v5

    .line 478
    .local v24, "colors":[[Ljava/lang/String;
    const/high16 v25, -0x1000000

    .line 480
    .local v25, "defaultColor":I
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->defaultValue:[Ljava/lang/String;

    move-object v5, v0

    if-eqz v5, :cond_0

    .line 482
    :try_start_0
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->defaultValue:[Ljava/lang/String;

    move-object v5, v0

    const/4 v6, 0x0

    aget-object v5, v5, v6

    invoke-static {v5}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result v25

    .line 488
    :cond_0
    new-instance v5, Ljava/lang/StringBuilder;

    invoke-static/range {v25 .. v25}, Landroid/graphics/Color;->red(I)I

    move-result v6

    invoke-static {v6}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v6

    invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v6, ","

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-static/range {v25 .. v25}, Landroid/graphics/Color;->green(I)I

    move-result v6

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, ","

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-static/range {v25 .. v25}, Landroid/graphics/Color;->blue(I)I

    move-result v6

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v27

    .line 489
    .local v27, "defaultRgbValue":Ljava/lang/String;
    invoke-static/range {v25 .. v25}, Landroid/graphics/Color;->red(I)I

    move-result v5

    invoke-static {v5}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;

    move-result-object v5

    invoke-static {v5}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v39

    .line 490
    .local v39, "red":Ljava/lang/String;
    invoke-static/range {v25 .. v25}, Landroid/graphics/Color;->green(I)I

    move-result v5

    invoke-static {v5}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;

    move-result-object v5

    invoke-static {v5}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v32

    .line 491
    .local v32, "green":Ljava/lang/String;
    invoke-static/range {v25 .. v25}, Landroid/graphics/Color;->blue(I)I

    move-result v5

    invoke-static {v5}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;

    move-result-object v5

    invoke-static {v5}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v23

    .line 492
    .local v23, "blue":Ljava/lang/String;
    invoke-virtual/range {v39 .. v39}, Ljava/lang/String;->length()I

    move-result v5

    const/4 v6, 0x1

    if-ne v5, v6, :cond_1

    new-instance v5, Ljava/lang/StringBuilder;

    const-string v6, "0"

    invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    move-object v0, v5

    move-object/from16 v1, v39

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v39

    .line 493
    :cond_1
    invoke-virtual/range {v32 .. v32}, Ljava/lang/String;->length()I

    move-result v5

    const/4 v6, 0x1

    if-ne v5, v6, :cond_2

    new-instance v5, Ljava/lang/StringBuilder;

    const-string v6, "0"

    invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    move-object v0, v5

    move-object/from16 v1, v32

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v32

    .line 494
    :cond_2
    invoke-virtual/range {v23 .. v23}, Ljava/lang/String;->length()I

    move-result v5

    const/4 v6, 0x1

    if-ne v5, v6, :cond_3

    new-instance v5, Ljava/lang/StringBuilder;

    const-string v6, "0"

    invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    move-object v0, v5

    move-object/from16 v1, v23

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v23

    .line 495
    :cond_3
    new-instance v5, Ljava/lang/StringBuilder;

    const-string v6, "#"

    invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    move-object v0, v5

    move-object/from16 v1, v39

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    move-object v0, v5

    move-object/from16 v1, v32

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    move-object v0, v5

    move-object/from16 v1, v23

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v26

    .line 496
    .local v26, "defaultHexValue":Ljava/lang/String;
    new-instance v5, Landroid/app/AlertDialog$Builder;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v6, v0

    invoke-direct {v5, v6}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    invoke-virtual {v5}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v29

    .line 497
    .local v29, "dialog":Landroid/app/AlertDialog;
    const/4 v5, 0x0

    move-object/from16 v0, v29

    move v1, v5

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog;->setCancelable(Z)V

    .line 498
    new-instance v5, Lrexsee/core/browser/RexseePrompt$27;

    move-object v0, v5

    move-object/from16 v1, p0

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt$27;-><init>(Lrexsee/core/browser/RexseePrompt;)V

    move-object/from16 v0, v29

    move-object v1, v5

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog;->setOnKeyListener(Landroid/content/DialogInterface$OnKeyListener;)V

    .line 505
    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mBrowser:Lrexsee/core/browser/Browser;

    move-object v5, v0

    iget-object v5, v5, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v5, v5, Lrexsee/core/application/RexseeApplication;->icon:Landroid/graphics/drawable/Drawable;

    move-object/from16 v0, v29

    move-object v1, v5

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog;->setIcon(Landroid/graphics/drawable/Drawable;)V

    .line 506
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->title:Ljava/lang/String;

    move-object v5, v0

    invoke-static {v5}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v5

    move-object/from16 v0, v29

    move-object v1, v5

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog;->setTitle(Ljava/lang/CharSequence;)V

    .line 507
    new-instance v36, Landroid/widget/LinearLayout;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v5, v0

    move-object/from16 v0, v36

    move-object v1, v5

    invoke-direct {v0, v1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    .line 508
    .local v36, "layout":Landroid/widget/LinearLayout;
    const/4 v5, 0x1

    move-object/from16 v0, v36

    move v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOrientation(I)V

    .line 509
    const/4 v5, 0x5

    move-object/from16 v0, p0

    move v1, v5

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v5

    const/4 v6, 0x0

    const/4 v7, 0x0

    const/16 v8, 0xa

    move-object/from16 v0, p0

    move v1, v8

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v8

    move-object/from16 v0, v36

    move v1, v5

    move v2, v6

    move v3, v7

    move v4, v8

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    .line 510
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->message:Ljava/lang/String;

    move-object v5, v0

    const-string v6, ""

    invoke-virtual {v5, v6}, Ljava/lang/String;->compareTo(Ljava/lang/String;)I

    move-result v5

    if-eqz v5, :cond_4

    .line 511
    new-instance v43, Landroid/widget/TextView;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v5, v0

    move-object/from16 v0, v43

    move-object v1, v5

    invoke-direct {v0, v1}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    .line 512
    .local v43, "text":Landroid/widget/TextView;
    const/16 v5, 0xf

    move-object/from16 v0, p0

    move v1, v5

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v5

    const/16 v6, 0xf

    move-object/from16 v0, p0

    move v1, v6

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v6

    const/4 v7, 0x0

    const/16 v8, 0xf

    move-object/from16 v0, p0

    move v1, v8

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v8

    move-object/from16 v0, v43

    move v1, v5

    move v2, v6

    move v3, v7

    move v4, v8

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/widget/TextView;->setPadding(IIII)V

    .line 513
    const/high16 v5, 0x41a00000    # 20.0f

    move-object/from16 v0, v43

    move v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextSize(F)V

    .line 514
    const/4 v5, -0x1

    move-object/from16 v0, v43

    move v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    .line 515
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->message:Ljava/lang/String;

    move-object v5, v0

    invoke-static {v5}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v5

    move-object/from16 v0, v43

    move-object v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 516
    new-instance v5, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v6, -0x1

    const/4 v7, -0x2

    invoke-direct {v5, v6, v7}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    move-object/from16 v0, v36

    move-object/from16 v1, v43

    move-object v2, v5

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 518
    .end local v43    # "text":Landroid/widget/TextView;
    :cond_4
    new-instance v33, Landroid/widget/LinearLayout;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v5, v0

    move-object/from16 v0, v33

    move-object v1, v5

    invoke-direct {v0, v1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    .line 519
    .local v33, "header":Landroid/widget/LinearLayout;
    const/4 v5, 0x0

    move-object/from16 v0, v33

    move v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOrientation(I)V

    .line 520
    const/16 v5, 0xf

    move-object/from16 v0, p0

    move v1, v5

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v5

    const/4 v6, 0x0

    const/4 v7, 0x3

    move-object/from16 v0, p0

    move v1, v7

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v7

    const/4 v8, 0x0

    move-object/from16 v0, v33

    move v1, v5

    move v2, v6

    move v3, v7

    move v4, v8

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    .line 521
    const/16 v5, 0x10

    move-object/from16 v0, v33

    move v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setGravity(I)V

    .line 522
    new-instance v28, Landroid/widget/LinearLayout;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v5, v0

    move-object/from16 v0, v28

    move-object v1, v5

    invoke-direct {v0, v1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    .line 523
    .local v28, "demoBorder":Landroid/widget/LinearLayout;
    const/16 v5, 0x11

    move-object/from16 v0, v28

    move v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setGravity(I)V

    .line 524
    const/4 v5, -0x1

    move-object/from16 v0, v28

    move v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setBackgroundColor(I)V

    .line 525
    new-instance v9, Landroid/widget/ImageView;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v5, v0

    invoke-direct {v9, v5}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    .line 526
    .local v9, "demo":Landroid/widget/ImageView;
    new-instance v5, Landroid/graphics/drawable/ColorDrawable;

    move-object v0, v5

    move/from16 v1, v25

    invoke-direct {v0, v1}, Landroid/graphics/drawable/ColorDrawable;-><init>(I)V

    invoke-virtual {v9, v5}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 527
    new-instance v5, Landroid/widget/LinearLayout$LayoutParams;

    const/16 v6, 0x76

    move-object/from16 v0, p0

    move v1, v6

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v6

    const/16 v7, 0x30

    move-object/from16 v0, p0

    move v1, v7

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v7

    invoke-direct {v5, v6, v7}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    move-object/from16 v0, v28

    move-object v1, v9

    move-object v2, v5

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 528
    new-instance v5, Landroid/widget/LinearLayout$LayoutParams;

    const/16 v6, 0x78

    move-object/from16 v0, p0

    move v1, v6

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v6

    const/16 v7, 0x32

    move-object/from16 v0, p0

    move v1, v7

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v7

    invoke-direct {v5, v6, v7}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    move-object/from16 v0, v33

    move-object/from16 v1, v28

    move-object v2, v5

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 529
    new-instance v45, Landroid/widget/LinearLayout;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v5, v0

    move-object/from16 v0, v45

    move-object v1, v5

    invoke-direct {v0, v1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    .line 530
    .local v45, "values":Landroid/widget/LinearLayout;
    const/4 v5, 0x1

    move-object/from16 v0, v45

    move v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOrientation(I)V

    .line 531
    const/16 v5, 0x10

    move-object/from16 v0, v45

    move v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setGravity(I)V

    .line 532
    new-instance v11, Landroid/widget/TextView;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v5, v0

    invoke-direct {v11, v5}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    .line 533
    .local v11, "rgbValue":Landroid/widget/TextView;
    const/16 v5, 0x7d

    move-object/from16 v0, p0

    move v1, v5

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v5

    invoke-virtual {v11, v5}, Landroid/widget/TextView;->setMinWidth(I)V

    .line 534
    const/16 v5, 0x14

    move-object/from16 v0, p0

    move v1, v5

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v5

    const/16 v6, 0xa

    move-object/from16 v0, p0

    move v1, v6

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v6

    const/16 v7, 0xa

    move-object/from16 v0, p0

    move v1, v7

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v7

    const/16 v8, 0xa

    move-object/from16 v0, p0

    move v1, v8

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v8

    invoke-virtual {v11, v5, v6, v7, v8}, Landroid/widget/TextView;->setPadding(IIII)V

    .line 535
    move-object v0, v11

    move-object/from16 v1, v27

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 536
    new-instance v5, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v6, -0x1

    const/4 v7, -0x2

    invoke-direct {v5, v6, v7}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    move-object/from16 v0, v45

    move-object v1, v11

    move-object v2, v5

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 537
    new-instance v12, Landroid/widget/TextView;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v5, v0

    invoke-direct {v12, v5}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    .line 538
    .local v12, "hexValue":Landroid/widget/TextView;
    const/16 v5, 0x14

    move-object/from16 v0, p0

    move v1, v5

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v5

    const/4 v6, 0x0

    const/16 v7, 0xa

    move-object/from16 v0, p0

    move v1, v7

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v7

    const/16 v8, 0xa

    move-object/from16 v0, p0

    move v1, v8

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v8

    invoke-virtual {v12, v5, v6, v7, v8}, Landroid/widget/TextView;->setPadding(IIII)V

    .line 539
    move-object v0, v12

    move-object/from16 v1, v26

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 540
    new-instance v5, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v6, -0x1

    const/4 v7, -0x2

    invoke-direct {v5, v6, v7}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    move-object/from16 v0, v45

    move-object v1, v12

    move-object v2, v5

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 541
    new-instance v5, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v6, -0x1

    const/4 v7, -0x2

    invoke-direct {v5, v6, v7}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    move-object/from16 v0, v33

    move-object/from16 v1, v45

    move-object v2, v5

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 542
    new-instance v5, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v6, -0x1

    const/4 v7, -0x2

    invoke-direct {v5, v6, v7}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    move-object/from16 v0, v36

    move-object/from16 v1, v33

    move-object v2, v5

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 543
    new-instance v7, Landroid/widget/LinearLayout;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v5, v0

    invoke-direct {v7, v5}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    .line 544
    .local v7, "table":Landroid/widget/LinearLayout;
    const/4 v5, 0x1

    invoke-virtual {v7, v5}, Landroid/widget/LinearLayout;->setOrientation(I)V

    .line 545
    const/4 v5, 0x1

    invoke-virtual {v7, v5}, Landroid/widget/LinearLayout;->setGravity(I)V

    .line 546
    const/16 v5, 0xc

    move-object/from16 v0, p0

    move v1, v5

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v5

    const/16 v6, 0xc

    move-object/from16 v0, p0

    move v1, v6

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v6

    const/16 v8, 0xc

    move-object/from16 v0, p0

    move v1, v8

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v8

    const/16 v10, 0xc

    move-object/from16 v0, p0

    move v1, v10

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v10

    invoke-virtual {v7, v5, v6, v8, v10}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    .line 547
    const/16 v34, 0x0

    .local v34, "i":I
    :goto_0
    move-object/from16 v0, v24

    array-length v0, v0

    move v5, v0

    move/from16 v0, v34

    move v1, v5

    if-lt v0, v1, :cond_6

    .line 587
    new-instance v5, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v6, -0x1

    const/4 v8, -0x2

    invoke-direct {v5, v6, v8}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    move-object/from16 v0, v36

    move-object v1, v7

    move-object v2, v5

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 588
    new-instance v42, Landroid/widget/LinearLayout;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v5, v0

    move-object/from16 v0, v42

    move-object v1, v5

    invoke-direct {v0, v1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    .line 589
    .local v42, "slider":Landroid/widget/LinearLayout;
    const/4 v5, 0x1

    move-object/from16 v0, v42

    move v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOrientation(I)V

    .line 590
    const/16 v5, 0x8

    move-object/from16 v0, v42

    move v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 591
    const/16 v5, 0xf

    move-object/from16 v0, p0

    move v1, v5

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v5

    const/16 v6, 0x14

    move-object/from16 v0, p0

    move v1, v6

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v6

    const/16 v8, 0xf

    move-object/from16 v0, p0

    move v1, v8

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v8

    const/16 v10, 0x19

    move-object/from16 v0, p0

    move v1, v10

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v10

    move-object/from16 v0, v42

    move v1, v5

    move v2, v6

    move v3, v8

    move v4, v10

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    .line 592
    new-instance v13, Lrexsee/core/widget/Slider;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v14, v0

    const-string v15, "R: "

    const/16 v16, 0x0

    const/16 v17, 0xff

    invoke-static/range {v25 .. v25}, Landroid/graphics/Color;->red(I)I

    move-result v18

    new-instance v19, Lrexsee/core/browser/RexseePrompt$29;

    move-object/from16 v0, v19

    move-object/from16 v1, p0

    move-object v2, v11

    move-object v3, v12

    move-object v4, v9

    invoke-direct {v0, v1, v2, v3, v4}, Lrexsee/core/browser/RexseePrompt$29;-><init>(Lrexsee/core/browser/RexseePrompt;Landroid/widget/TextView;Landroid/widget/TextView;Landroid/widget/ImageView;)V

    invoke-direct/range {v13 .. v19}, Lrexsee/core/widget/Slider;-><init>(Landroid/content/Context;Ljava/lang/String;IIILrexsee/core/widget/Slider$OnSliderChangeListener;)V

    .line 605
    .local v13, "redBar":Lrexsee/core/widget/Slider;
    new-instance v14, Lrexsee/core/widget/Slider;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v15, v0

    const-string v16, "G: "

    const/16 v17, 0x0

    const/16 v18, 0xff

    invoke-static/range {v25 .. v25}, Landroid/graphics/Color;->green(I)I

    move-result v19

    new-instance v20, Lrexsee/core/browser/RexseePrompt$30;

    move-object/from16 v0, v20

    move-object/from16 v1, p0

    move-object v2, v11

    move-object v3, v12

    move-object v4, v9

    invoke-direct {v0, v1, v2, v3, v4}, Lrexsee/core/browser/RexseePrompt$30;-><init>(Lrexsee/core/browser/RexseePrompt;Landroid/widget/TextView;Landroid/widget/TextView;Landroid/widget/ImageView;)V

    invoke-direct/range {v14 .. v20}, Lrexsee/core/widget/Slider;-><init>(Landroid/content/Context;Ljava/lang/String;IIILrexsee/core/widget/Slider$OnSliderChangeListener;)V

    .line 619
    .local v14, "greenBar":Lrexsee/core/widget/Slider;
    new-instance v15, Lrexsee/core/widget/Slider;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object/from16 v16, v0

    const-string v17, "B: "

    const/16 v18, 0x0

    const/16 v19, 0xff

    invoke-static/range {v25 .. v25}, Landroid/graphics/Color;->blue(I)I

    move-result v20

    new-instance v21, Lrexsee/core/browser/RexseePrompt$31;

    move-object/from16 v0, v21

    move-object/from16 v1, p0

    move-object v2, v11

    move-object v3, v12

    move-object v4, v9

    invoke-direct {v0, v1, v2, v3, v4}, Lrexsee/core/browser/RexseePrompt$31;-><init>(Lrexsee/core/browser/RexseePrompt;Landroid/widget/TextView;Landroid/widget/TextView;Landroid/widget/ImageView;)V

    invoke-direct/range {v15 .. v21}, Lrexsee/core/widget/Slider;-><init>(Landroid/content/Context;Ljava/lang/String;IIILrexsee/core/widget/Slider$OnSliderChangeListener;)V

    .line 632
    .local v15, "blueBar":Lrexsee/core/widget/Slider;
    new-instance v5, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v6, -0x1

    const/4 v8, -0x2

    invoke-direct {v5, v6, v8}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    move-object/from16 v0, v42

    move-object v1, v13

    move-object v2, v5

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 633
    new-instance v5, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v6, -0x1

    const/4 v8, -0x2

    invoke-direct {v5, v6, v8}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    move-object/from16 v0, v42

    move-object v1, v14

    move-object v2, v5

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 634
    new-instance v5, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v6, -0x1

    const/4 v8, -0x2

    invoke-direct {v5, v6, v8}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    move-object/from16 v0, v42

    move-object v1, v15

    move-object v2, v5

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 635
    new-instance v5, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v6, -0x1

    const/4 v8, -0x2

    invoke-direct {v5, v6, v8}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    move-object/from16 v0, v36

    move-object/from16 v1, v42

    move-object v2, v5

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 636
    new-instance v31, Landroid/widget/RadioGroup;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v5, v0

    move-object/from16 v0, v31

    move-object v1, v5

    invoke-direct {v0, v1}, Landroid/widget/RadioGroup;-><init>(Landroid/content/Context;)V

    .line 637
    .local v31, "footer":Landroid/widget/RadioGroup;
    const/4 v5, 0x0

    move-object/from16 v0, v31

    move v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/RadioGroup;->setOrientation(I)V

    .line 638
    const/4 v5, 0x1

    move-object/from16 v0, v31

    move v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/RadioGroup;->setGravity(I)V

    .line 639
    new-instance v37, Landroid/widget/RadioButton;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v5, v0

    move-object/from16 v0, v37

    move-object v1, v5

    invoke-direct {v0, v1}, Landroid/widget/RadioButton;-><init>(Landroid/content/Context;)V

    .line 640
    .local v37, "radio0":Landroid/widget/RadioButton;
    const/4 v5, 0x0

    move-object/from16 v0, v37

    move v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/RadioButton;->setId(I)V

    .line 641
    const/16 v5, 0x28

    move-object/from16 v0, p0

    move v1, v5

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v5

    const/4 v6, 0x0

    const/16 v8, 0xf

    move-object/from16 v0, p0

    move v1, v8

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v8

    const/4 v9, 0x0

    move-object/from16 v0, v37

    move v1, v5

    move v2, v6

    move v3, v8

    move v4, v9

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/widget/RadioButton;->setPadding(IIII)V

    .line 642
    .end local v9    # "demo":Landroid/widget/ImageView;
    sget-object v5, Lrexsee/core/lang/RexseeLanguage;->TITLE_COLOR_PICKER:Ljava/lang/String;

    move-object/from16 v0, v37

    move-object v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/RadioButton;->setText(Ljava/lang/CharSequence;)V

    .line 643
    new-instance v5, Lrexsee/core/browser/RexseePrompt$32;

    move-object v0, v5

    move-object/from16 v1, p0

    move-object v2, v7

    invoke-direct {v0, v1, v2}, Lrexsee/core/browser/RexseePrompt$32;-><init>(Lrexsee/core/browser/RexseePrompt;Landroid/widget/LinearLayout;)V

    move-object/from16 v0, v37

    move-object v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/RadioButton;->setOnCheckedChangeListener(Landroid/widget/CompoundButton$OnCheckedChangeListener;)V

    .line 657
    new-instance v38, Landroid/widget/RadioButton;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v5, v0

    move-object/from16 v0, v38

    move-object v1, v5

    invoke-direct {v0, v1}, Landroid/widget/RadioButton;-><init>(Landroid/content/Context;)V

    .line 658
    .local v38, "radio1":Landroid/widget/RadioButton;
    const/4 v5, 0x1

    move-object/from16 v0, v38

    move v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/RadioButton;->setId(I)V

    .line 659
    const/16 v5, 0x28

    move-object/from16 v0, p0

    move v1, v5

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v5

    const/4 v6, 0x0

    const/16 v7, 0xa

    move-object/from16 v0, p0

    move v1, v7

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    .end local v7    # "table":Landroid/widget/LinearLayout;
    move-result v7

    const/4 v8, 0x0

    move-object/from16 v0, v38

    move v1, v5

    move v2, v6

    move v3, v7

    move v4, v8

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/widget/RadioButton;->setPadding(IIII)V

    .line 660
    sget-object v5, Lrexsee/core/lang/RexseeLanguage;->TITLE_COLOR_SLIDER:Ljava/lang/String;

    move-object/from16 v0, v38

    move-object v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/RadioButton;->setText(Ljava/lang/CharSequence;)V

    .line 661
    new-instance v16, Lrexsee/core/browser/RexseePrompt$33;

    move-object/from16 v17, p0

    move-object/from16 v18, v42

    move-object/from16 v19, v11

    move-object/from16 v20, v13

    move-object/from16 v21, v14

    move-object/from16 v22, v15

    invoke-direct/range {v16 .. v22}, Lrexsee/core/browser/RexseePrompt$33;-><init>(Lrexsee/core/browser/RexseePrompt;Landroid/widget/LinearLayout;Landroid/widget/TextView;Lrexsee/core/widget/Slider;Lrexsee/core/widget/Slider;Lrexsee/core/widget/Slider;)V

    move-object/from16 v0, v38

    move-object/from16 v1, v16

    invoke-virtual {v0, v1}, Landroid/widget/RadioButton;->setOnCheckedChangeListener(Landroid/widget/CompoundButton$OnCheckedChangeListener;)V

    .line 673
    move-object/from16 v0, v31

    move-object/from16 v1, v37

    invoke-virtual {v0, v1}, Landroid/widget/RadioGroup;->addView(Landroid/view/View;)V

    .line 674
    move-object/from16 v0, v31

    move-object/from16 v1, v38

    invoke-virtual {v0, v1}, Landroid/widget/RadioGroup;->addView(Landroid/view/View;)V

    .line 675
    const/4 v5, 0x0

    move-object/from16 v0, v31

    move v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/RadioGroup;->check(I)V

    .line 676
    new-instance v5, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v6, -0x1

    const/4 v7, -0x2

    invoke-direct {v5, v6, v7}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    move-object/from16 v0, v36

    move-object/from16 v1, v31

    move-object v2, v5

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 677
    new-instance v41, Landroid/widget/ScrollView;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v5, v0

    move-object/from16 v0, v41

    move-object v1, v5

    invoke-direct {v0, v1}, Landroid/widget/ScrollView;-><init>(Landroid/content/Context;)V

    .line 678
    .local v41, "scroller":Landroid/widget/ScrollView;
    const/4 v5, 0x0

    move-object/from16 v0, v41

    move v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/ScrollView;->setHorizontalFadingEdgeEnabled(Z)V

    .line 679
    const/4 v5, 0x0

    move-object/from16 v0, v41

    move v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/ScrollView;->setVerticalFadingEdgeEnabled(Z)V

    .line 680
    move-object/from16 v0, v41

    move-object/from16 v1, v36

    invoke-virtual {v0, v1}, Landroid/widget/ScrollView;->addView(Landroid/view/View;)V

    .line 681
    move-object/from16 v0, v29

    move-object/from16 v1, v41

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog;->setView(Landroid/view/View;)V

    .line 682
    const/4 v5, -0x1

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v6, v0

    invoke-virtual {v6}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v6

    const v7, 0x104000a

    invoke-virtual {v6, v7}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v6

    new-instance v7, Lrexsee/core/browser/RexseePrompt$34;

    move-object v0, v7

    move-object/from16 v1, p0

    move-object/from16 v2, p2

    move-object v3, v12

    move-object v4, v11

    invoke-direct {v0, v1, v2, v3, v4}, Lrexsee/core/browser/RexseePrompt$34;-><init>(Lrexsee/core/browser/RexseePrompt;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;Landroid/widget/TextView;Landroid/widget/TextView;)V

    move-object/from16 v0, v29

    move v1, v5

    move-object v2, v6

    move-object v3, v7

    invoke-virtual {v0, v1, v2, v3}, Landroid/app/AlertDialog;->setButton(ILjava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    .line 689
    move-object/from16 v0, p1

    iget-boolean v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->cancelable:Z

    move v5, v0

    if-eqz v5, :cond_5

    .line 690
    const/4 v5, -0x2

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v6, v0

    invoke-virtual {v6}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v6

    const/high16 v7, 0x1040000

    invoke-virtual {v6, v7}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v6

    new-instance v7, Lrexsee/core/browser/RexseePrompt$35;

    move-object v0, v7

    move-object/from16 v1, p0

    move-object/from16 v2, p2

    invoke-direct {v0, v1, v2}, Lrexsee/core/browser/RexseePrompt$35;-><init>(Lrexsee/core/browser/RexseePrompt;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V

    move-object/from16 v0, v29

    move v1, v5

    move-object v2, v6

    move-object v3, v7

    invoke-virtual {v0, v1, v2, v3}, Landroid/app/AlertDialog;->setButton(ILjava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    .line 698
    :cond_5
    invoke-virtual/range {v29 .. v29}, Landroid/app/AlertDialog;->show()V

    .line 699
    .end local v11    # "rgbValue":Landroid/widget/TextView;
    .end local v12    # "hexValue":Landroid/widget/TextView;
    .end local v13    # "redBar":Lrexsee/core/widget/Slider;
    .end local v14    # "greenBar":Lrexsee/core/widget/Slider;
    .end local v15    # "blueBar":Lrexsee/core/widget/Slider;
    .end local v23    # "blue":Ljava/lang/String;
    .end local v26    # "defaultHexValue":Ljava/lang/String;
    .end local v27    # "defaultRgbValue":Ljava/lang/String;
    .end local v28    # "demoBorder":Landroid/widget/LinearLayout;
    .end local v29    # "dialog":Landroid/app/AlertDialog;
    .end local v31    # "footer":Landroid/widget/RadioGroup;
    .end local v32    # "green":Ljava/lang/String;
    .end local v33    # "header":Landroid/widget/LinearLayout;
    .end local v34    # "i":I
    .end local v36    # "layout":Landroid/widget/LinearLayout;
    .end local v37    # "radio0":Landroid/widget/RadioButton;
    .end local v38    # "radio1":Landroid/widget/RadioButton;
    .end local v39    # "red":Ljava/lang/String;
    .end local v41    # "scroller":Landroid/widget/ScrollView;
    .end local v42    # "slider":Landroid/widget/LinearLayout;
    .end local v45    # "values":Landroid/widget/LinearLayout;
    :goto_1
    return-void

    .line 483
    :catch_0
    move-exception v5

    move-object/from16 v30, v5

    .line 484
    .local v30, "e":Ljava/lang/Exception;
    new-instance v5, Ljava/lang/StringBuilder;

    const-string v6, "Default Value Error: "

    invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual/range {v30 .. v30}, Ljava/lang/Exception;->getLocalizedMessage()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    move-object/from16 v0, p0

    move-object v1, v5

    move-object/from16 v2, p2

    invoke-direct {v0, v1, v2}, Lrexsee/core/browser/RexseePrompt;->error(Ljava/lang/String;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V

    goto :goto_1

    .line 548
    .end local v30    # "e":Ljava/lang/Exception;
    .restart local v7    # "table":Landroid/widget/LinearLayout;
    .restart local v9    # "demo":Landroid/widget/ImageView;
    .restart local v11    # "rgbValue":Landroid/widget/TextView;
    .restart local v12    # "hexValue":Landroid/widget/TextView;
    .restart local v23    # "blue":Ljava/lang/String;
    .restart local v26    # "defaultHexValue":Ljava/lang/String;
    .restart local v27    # "defaultRgbValue":Ljava/lang/String;
    .restart local v28    # "demoBorder":Landroid/widget/LinearLayout;
    .restart local v29    # "dialog":Landroid/app/AlertDialog;
    .restart local v32    # "green":Ljava/lang/String;
    .restart local v33    # "header":Landroid/widget/LinearLayout;
    .restart local v34    # "i":I
    .restart local v36    # "layout":Landroid/widget/LinearLayout;
    .restart local v39    # "red":Ljava/lang/String;
    .restart local v45    # "values":Landroid/widget/LinearLayout;
    :cond_6
    new-instance v40, Landroid/widget/LinearLayout;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v5, v0

    move-object/from16 v0, v40

    move-object v1, v5

    invoke-direct {v0, v1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    .line 549
    .local v40, "row":Landroid/widget/LinearLayout;
    const/4 v5, 0x0

    move-object/from16 v0, v40

    move v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOrientation(I)V

    .line 550
    const/16 v35, 0x0

    .local v35, "j":I
    :goto_2
    aget-object v5, v24, v34

    array-length v5, v5

    move/from16 v0, v35

    move v1, v5

    if-lt v0, v1, :cond_7

    .line 585
    new-instance v5, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v6, -0x1

    const/4 v8, -0x2

    invoke-direct {v5, v6, v8}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    move-object v0, v7

    move-object/from16 v1, v40

    move-object v2, v5

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 547
    add-int/lit8 v34, v34, 0x1

    goto/16 :goto_0

    .line 551
    :cond_7
    aget-object v5, v24, v34

    aget-object v5, v5, v35

    invoke-static {v5}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v10

    .line 552
    .local v10, "color":I
    new-instance v8, Landroid/widget/LinearLayout;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v5, v0

    invoke-direct {v8, v5}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    .line 553
    .local v8, "cell":Landroid/widget/LinearLayout;
    const/16 v5, 0x11

    invoke-virtual {v8, v5}, Landroid/widget/LinearLayout;->setGravity(I)V

    .line 554
    new-instance v44, Landroid/widget/ImageView;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v5, v0

    move-object/from16 v0, v44

    move-object v1, v5

    invoke-direct {v0, v1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    .line 555
    .local v44, "v":Landroid/widget/ImageView;
    new-instance v5, Landroid/graphics/drawable/ColorDrawable;

    invoke-direct {v5, v10}, Landroid/graphics/drawable/ColorDrawable;-><init>(I)V

    move-object/from16 v0, v44

    move-object v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 556
    const/4 v5, 0x1

    move-object/from16 v0, v44

    move v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setClickable(Z)V

    .line 557
    new-instance v5, Lrexsee/core/browser/RexseePrompt$28;

    move-object/from16 v6, p0

    invoke-direct/range {v5 .. v12}, Lrexsee/core/browser/RexseePrompt$28;-><init>(Lrexsee/core/browser/RexseePrompt;Landroid/widget/LinearLayout;Landroid/widget/LinearLayout;Landroid/widget/ImageView;ILandroid/widget/TextView;Landroid/widget/TextView;)V

    move-object/from16 v0, v44

    move-object v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 582
    new-instance v5, Landroid/widget/LinearLayout$LayoutParams;

    const/16 v6, 0x16

    move-object/from16 v0, p0

    move v1, v6

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v6

    const/16 v10, 0x16

    move-object/from16 v0, p0

    move v1, v10

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    .end local v10    # "color":I
    move-result v10

    invoke-direct {v5, v6, v10}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    move-object v0, v8

    move-object/from16 v1, v44

    move-object v2, v5

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 583
    new-instance v5, Landroid/widget/LinearLayout$LayoutParams;

    const/16 v6, 0x1e

    move-object/from16 v0, p0

    move v1, v6

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v6

    const/16 v10, 0x1e

    move-object/from16 v0, p0

    move v1, v10

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v10

    invoke-direct {v5, v6, v10}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    move-object/from16 v0, v40

    move-object v1, v8

    move-object v2, v5

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 550
    add-int/lit8 v35, v35, 0x1

    goto/16 :goto_2
.end method

.method private showCountryOrCity(Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V
    .locals 31
    .param p1, "argumentsSheet"    # Lrexsee/core/browser/clazz/PromptArgumentsSheet;
    .param p2, "returnListener"    # Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;

    .prologue
    .line 306
    move-object/from16 v0, p1

    iget-boolean v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->selectCities:Z

    move v5, v0

    if-eqz v5, :cond_6

    sget-object v5, Lrexsee/core/lang/RexseeLanguage;->CITIES:[[Ljava/lang/String;

    invoke-virtual {v5}, [[Ljava/lang/String;->clone()Ljava/lang/Object;

    move-result-object v5

    check-cast v5, [[Ljava/lang/String;

    move-object v7, v5

    .line 307
    .local v7, "array":[[Ljava/lang/String;
    :goto_0
    move-object/from16 v0, p1

    iget-boolean v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->selectCities:Z

    move v5, v0

    if-eqz v5, :cond_7

    move-object/from16 v0, p1

    iget-boolean v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->provinceEnable:Z

    move v5, v0

    move/from16 v22, v5

    .line 308
    .local v22, "enableFirst":Z
    :goto_1
    move-object/from16 v0, p1

    iget-boolean v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->selectCities:Z

    move v5, v0

    if-eqz v5, :cond_8

    move-object/from16 v0, p1

    iget-boolean v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->cityEnable:Z

    move v5, v0

    move/from16 v23, v5

    .line 310
    .local v23, "enableSecond":Z
    :goto_2
    move-object/from16 v0, p1

    iget-boolean v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->selectCities:Z

    move v5, v0

    if-eqz v5, :cond_0

    move-object/from16 v0, p1

    iget-boolean v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->selectDistrictes:Z

    move v5, v0

    if-nez v5, :cond_0

    .line 311
    const/16 v24, 0x0

    .local v24, "i":I
    :goto_3
    const/4 v5, 0x6

    move/from16 v0, v24

    move v1, v5

    if-lt v0, v1, :cond_9

    .line 316
    .end local v24    # "i":I
    :cond_0
    new-instance v5, Landroid/app/AlertDialog$Builder;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v6, v0

    invoke-direct {v5, v6}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    invoke-virtual {v5}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v21

    .line 317
    .local v21, "dialog":Landroid/app/AlertDialog;
    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mBrowser:Lrexsee/core/browser/Browser;

    move-object v5, v0

    iget-object v5, v5, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v5, v5, Lrexsee/core/application/RexseeApplication;->icon:Landroid/graphics/drawable/Drawable;

    move-object/from16 v0, v21

    move-object v1, v5

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog;->setIcon(Landroid/graphics/drawable/Drawable;)V

    .line 318
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->title:Ljava/lang/String;

    move-object v5, v0

    invoke-static {v5}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v5

    move-object/from16 v0, v21

    move-object v1, v5

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog;->setTitle(Ljava/lang/CharSequence;)V

    .line 319
    const/4 v5, 0x0

    move-object/from16 v0, v21

    move v1, v5

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog;->setCancelable(Z)V

    .line 320
    new-instance v5, Lrexsee/core/browser/RexseePrompt$21;

    move-object v0, v5

    move-object/from16 v1, p0

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt$21;-><init>(Lrexsee/core/browser/RexseePrompt;)V

    move-object/from16 v0, v21

    move-object v1, v5

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog;->setOnKeyListener(Landroid/content/DialogInterface$OnKeyListener;)V

    .line 327
    new-instance v26, Landroid/widget/LinearLayout;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v5, v0

    move-object/from16 v0, v26

    move-object v1, v5

    invoke-direct {v0, v1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    .line 328
    .local v26, "layout":Landroid/widget/LinearLayout;
    const/4 v5, 0x1

    move-object/from16 v0, v26

    move v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOrientation(I)V

    .line 329
    const/16 v5, 0xa

    move-object/from16 v0, p0

    move v1, v5

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v5

    const/16 v6, 0xa

    move-object/from16 v0, p0

    move v1, v6

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v6

    const/16 v8, 0xa

    move-object/from16 v0, p0

    move v1, v8

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v8

    const/16 v9, 0xa

    move-object/from16 v0, p0

    move v1, v9

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v9

    move-object/from16 v0, v26

    move v1, v5

    move v2, v6

    move v3, v8

    move v4, v9

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    .line 330
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->message:Ljava/lang/String;

    move-object v5, v0

    const-string v6, ""

    invoke-virtual {v5, v6}, Ljava/lang/String;->compareTo(Ljava/lang/String;)I

    move-result v5

    if-eqz v5, :cond_1

    .line 331
    new-instance v30, Landroid/widget/TextView;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v5, v0

    move-object/from16 v0, v30

    move-object v1, v5

    invoke-direct {v0, v1}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    .line 332
    .local v30, "text":Landroid/widget/TextView;
    const/4 v5, 0x0

    const/4 v6, 0x0

    const/4 v8, 0x0

    const/16 v9, 0xa

    move-object/from16 v0, p0

    move v1, v9

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v9

    move-object/from16 v0, v30

    move v1, v5

    move v2, v6

    move v3, v8

    move v4, v9

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/widget/TextView;->setPadding(IIII)V

    .line 333
    const/high16 v5, 0x41a00000    # 20.0f

    move-object/from16 v0, v30

    move v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextSize(F)V

    .line 334
    const/4 v5, -0x1

    move-object/from16 v0, v30

    move v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    .line 335
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->message:Ljava/lang/String;

    move-object v5, v0

    invoke-static {v5}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v5

    move-object/from16 v0, v30

    move-object v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 336
    new-instance v5, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v6, -0x1

    const/4 v8, -0x2

    invoke-direct {v5, v6, v8}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    move-object/from16 v0, v26

    move-object/from16 v1, v30

    move-object v2, v5

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 338
    .end local v30    # "text":Landroid/widget/TextView;
    :cond_1
    new-instance v28, Landroid/widget/LinearLayout;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v5, v0

    move-object/from16 v0, v28

    move-object v1, v5

    invoke-direct {v0, v1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    .line 339
    .local v28, "provinceLayout":Landroid/widget/LinearLayout;
    const/4 v5, 0x0

    move-object/from16 v0, v28

    move v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOrientation(I)V

    .line 340
    const/16 v5, 0x10

    move-object/from16 v0, v28

    move v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setGravity(I)V

    .line 341
    new-instance v9, Landroid/widget/TextView;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v5, v0

    invoke-direct {v9, v5}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    .line 342
    .local v9, "provinceText":Landroid/widget/TextView;
    const/4 v5, 0x0

    const/4 v6, 0x0

    const/4 v8, 0x0

    const/16 v10, 0xa

    move-object/from16 v0, p0

    move v1, v10

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v10

    invoke-virtual {v9, v5, v6, v8, v10}, Landroid/widget/TextView;->setPadding(IIII)V

    .line 343
    const/high16 v5, 0x41800000    # 16.0f

    invoke-virtual {v9, v5}, Landroid/widget/TextView;->setTextSize(F)V

    .line 344
    const/4 v5, -0x1

    invoke-virtual {v9, v5}, Landroid/widget/TextView;->setTextColor(I)V

    .line 345
    const/4 v5, 0x0

    aget-object v5, v7, v5

    const/4 v6, 0x0

    aget-object v5, v5, v6

    invoke-virtual {v9, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 346
    new-instance v5, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v6, -0x1

    const/4 v8, -0x2

    const/high16 v10, 0x40000000    # 2.0f

    invoke-direct {v5, v6, v8, v10}, Landroid/widget/LinearLayout$LayoutParams;-><init>(IIF)V

    move-object/from16 v0, v28

    move-object v1, v9

    move-object v2, v5

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 347
    new-instance v27, Landroid/widget/Button;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v5, v0

    move-object/from16 v0, v27

    move-object v1, v5

    invoke-direct {v0, v1}, Landroid/widget/Button;-><init>(Landroid/content/Context;)V

    .line 348
    .local v27, "provinceButton":Landroid/widget/Button;
    sget-object v5, Lrexsee/core/lang/RexseeLanguage;->TITLE_SELECT:Ljava/lang/String;

    move-object/from16 v0, v27

    move-object v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    .line 349
    new-instance v5, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v6, -0x2

    const/4 v8, -0x2

    invoke-direct {v5, v6, v8}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    move-object/from16 v0, v28

    move-object/from16 v1, v27

    move-object v2, v5

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 350
    new-instance v5, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v6, -0x1

    const/4 v8, -0x2

    invoke-direct {v5, v6, v8}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    move-object/from16 v0, v26

    move-object/from16 v1, v28

    move-object v2, v5

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 351
    new-instance v20, Landroid/widget/LinearLayout;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v5, v0

    move-object/from16 v0, v20

    move-object v1, v5

    invoke-direct {v0, v1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    .line 352
    .local v20, "cityLayout":Landroid/widget/LinearLayout;
    const/4 v5, 0x0

    move-object/from16 v0, v20

    move v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOrientation(I)V

    .line 353
    const/16 v5, 0x10

    move-object/from16 v0, v20

    move v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setGravity(I)V

    .line 354
    new-instance v10, Landroid/widget/TextView;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v5, v0

    invoke-direct {v10, v5}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    .line 355
    .local v10, "cityText":Landroid/widget/TextView;
    const/4 v5, 0x0

    const/4 v6, 0x0

    const/4 v8, 0x0

    const/16 v11, 0xa

    move-object/from16 v0, p0

    move v1, v11

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v11

    invoke-virtual {v10, v5, v6, v8, v11}, Landroid/widget/TextView;->setPadding(IIII)V

    .line 356
    const/high16 v5, 0x41800000    # 16.0f

    invoke-virtual {v10, v5}, Landroid/widget/TextView;->setTextSize(F)V

    .line 357
    const/4 v5, -0x1

    invoke-virtual {v10, v5}, Landroid/widget/TextView;->setTextColor(I)V

    .line 358
    const/4 v5, 0x0

    aget-object v5, v7, v5

    const/4 v6, 0x1

    aget-object v5, v5, v6

    invoke-virtual {v10, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 359
    new-instance v5, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v6, -0x1

    const/4 v8, -0x2

    const/high16 v11, 0x40000000    # 2.0f

    invoke-direct {v5, v6, v8, v11}, Landroid/widget/LinearLayout$LayoutParams;-><init>(IIF)V

    move-object/from16 v0, v20

    move-object v1, v10

    move-object v2, v5

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 360
    new-instance v19, Landroid/widget/Button;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v5, v0

    move-object/from16 v0, v19

    move-object v1, v5

    invoke-direct {v0, v1}, Landroid/widget/Button;-><init>(Landroid/content/Context;)V

    .line 361
    .local v19, "cityButton":Landroid/widget/Button;
    sget-object v5, Lrexsee/core/lang/RexseeLanguage;->TITLE_SELECT:Ljava/lang/String;

    move-object/from16 v0, v19

    move-object v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    .line 362
    new-instance v5, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v6, -0x2

    const/4 v8, -0x2

    invoke-direct {v5, v6, v8}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    move-object/from16 v0, v20

    move-object/from16 v1, v19

    move-object v2, v5

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 363
    new-instance v5, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v6, -0x1

    const/4 v8, -0x2

    invoke-direct {v5, v6, v8}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    move-object/from16 v0, v26

    move-object/from16 v1, v20

    move-object v2, v5

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 364
    new-instance v5, Lrexsee/core/browser/RexseePrompt$22;

    move-object/from16 v6, p0

    move-object/from16 v8, p1

    invoke-direct/range {v5 .. v10}, Lrexsee/core/browser/RexseePrompt$22;-><init>(Lrexsee/core/browser/RexseePrompt;[[Ljava/lang/String;Lrexsee/core/browser/clazz/PromptArgumentsSheet;Landroid/widget/TextView;Landroid/widget/TextView;)V

    move-object/from16 v0, v27

    move-object v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnCreateContextMenuListener(Landroid/view/View$OnCreateContextMenuListener;)V

    .line 382
    new-instance v5, Lrexsee/core/browser/RexseePrompt$23;

    move-object v0, v5

    move-object/from16 v1, p0

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt$23;-><init>(Lrexsee/core/browser/RexseePrompt;)V

    move-object/from16 v0, v27

    move-object v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 388
    new-instance v11, Lrexsee/core/browser/RexseePrompt$24;

    move-object/from16 v12, p0

    move-object v13, v9

    move-object v14, v7

    move-object/from16 v15, p2

    move-object/from16 v16, v10

    invoke-direct/range {v11 .. v16}, Lrexsee/core/browser/RexseePrompt$24;-><init>(Lrexsee/core/browser/RexseePrompt;Landroid/widget/TextView;[[Ljava/lang/String;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;Landroid/widget/TextView;)V

    move-object/from16 v0, v19

    move-object v1, v11

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnCreateContextMenuListener(Landroid/view/View$OnCreateContextMenuListener;)V

    .line 416
    new-instance v5, Lrexsee/core/browser/RexseePrompt$25;

    move-object v0, v5

    move-object/from16 v1, p0

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt$25;-><init>(Lrexsee/core/browser/RexseePrompt;)V

    move-object/from16 v0, v19

    move-object v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 422
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->defaultValue:[Ljava/lang/String;

    move-object v5, v0

    if-eqz v5, :cond_2

    .line 423
    const/16 v24, 0x0

    .restart local v24    # "i":I
    :goto_4
    array-length v5, v7

    move/from16 v0, v24

    move v1, v5

    if-lt v0, v1, :cond_a

    .line 438
    .end local v24    # "i":I
    :cond_2
    :goto_5
    if-nez v22, :cond_3

    .line 439
    const/16 v5, 0x8

    move-object/from16 v0, v28

    move v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 441
    :cond_3
    if-nez v23, :cond_4

    .line 442
    const/16 v5, 0x8

    move-object/from16 v0, v20

    move v1, v5

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 444
    :cond_4
    new-instance v29, Landroid/widget/ScrollView;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v5, v0

    move-object/from16 v0, v29

    move-object v1, v5

    invoke-direct {v0, v1}, Landroid/widget/ScrollView;-><init>(Landroid/content/Context;)V

    .line 445
    .local v29, "scroller":Landroid/widget/ScrollView;
    move-object/from16 v0, v29

    move-object/from16 v1, v26

    invoke-virtual {v0, v1}, Landroid/widget/ScrollView;->addView(Landroid/view/View;)V

    .line 446
    move-object/from16 v0, v21

    move-object/from16 v1, v29

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog;->setView(Landroid/view/View;)V

    .line 447
    new-instance v11, Lrexsee/core/browser/RexseePrompt$26;

    move-object/from16 v12, p0

    move/from16 v13, v22

    move-object v14, v9

    move/from16 v15, v23

    move-object/from16 v16, v10

    move-object/from16 v17, p2

    invoke-direct/range {v11 .. v17}, Lrexsee/core/browser/RexseePrompt$26;-><init>(Lrexsee/core/browser/RexseePrompt;ZLandroid/widget/TextView;ZLandroid/widget/TextView;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V

    .line 471
    .local v11, "listener":Landroid/content/DialogInterface$OnClickListener;
    const/4 v5, -0x1

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v6, v0

    invoke-virtual {v6}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v6

    const v7, 0x104000a

    invoke-virtual {v6, v7}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    .end local v7    # "array":[[Ljava/lang/String;
    move-result-object v6

    move-object/from16 v0, v21

    move v1, v5

    move-object v2, v6

    move-object v3, v11

    invoke-virtual {v0, v1, v2, v3}, Landroid/app/AlertDialog;->setButton(ILjava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    .line 472
    move-object/from16 v0, p1

    iget-boolean v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->cancelable:Z

    move v5, v0

    if-eqz v5, :cond_5

    const/4 v5, -0x2

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v6, v0

    invoke-virtual {v6}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v6

    const/high16 v7, 0x1040000

    invoke-virtual {v6, v7}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v6

    move-object/from16 v0, v21

    move v1, v5

    move-object v2, v6

    move-object v3, v11

    invoke-virtual {v0, v1, v2, v3}, Landroid/app/AlertDialog;->setButton(ILjava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    .line 473
    :cond_5
    invoke-virtual/range {v21 .. v21}, Landroid/app/AlertDialog;->show()V

    .line 474
    return-void

    .line 306
    .end local v9    # "provinceText":Landroid/widget/TextView;
    .end local v10    # "cityText":Landroid/widget/TextView;
    .end local v11    # "listener":Landroid/content/DialogInterface$OnClickListener;
    .end local v19    # "cityButton":Landroid/widget/Button;
    .end local v20    # "cityLayout":Landroid/widget/LinearLayout;
    .end local v21    # "dialog":Landroid/app/AlertDialog;
    .end local v22    # "enableFirst":Z
    .end local v23    # "enableSecond":Z
    .end local v26    # "layout":Landroid/widget/LinearLayout;
    .end local v27    # "provinceButton":Landroid/widget/Button;
    .end local v28    # "provinceLayout":Landroid/widget/LinearLayout;
    .end local v29    # "scroller":Landroid/widget/ScrollView;
    :cond_6
    sget-object v5, Lrexsee/core/lang/RexseeLanguage;->COUNTRIES:[[Ljava/lang/String;

    invoke-virtual {v5}, [[Ljava/lang/String;->clone()Ljava/lang/Object;

    move-result-object v5

    check-cast v5, [[Ljava/lang/String;

    move-object v7, v5

    goto/16 :goto_0

    .line 307
    .restart local v7    # "array":[[Ljava/lang/String;
    :cond_7
    move-object/from16 v0, p1

    iget-boolean v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->continentEnable:Z

    move v5, v0

    move/from16 v22, v5

    goto/16 :goto_1

    .line 308
    .restart local v22    # "enableFirst":Z
    :cond_8
    move-object/from16 v0, p1

    iget-boolean v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->countryEnable:Z

    move v5, v0

    move/from16 v23, v5

    goto/16 :goto_2

    .line 312
    .restart local v23    # "enableSecond":Z
    .restart local v24    # "i":I
    :cond_9
    const/4 v5, 0x2

    new-array v5, v5, [Ljava/lang/String;

    const/4 v6, 0x0

    aget-object v8, v7, v24

    const/4 v9, 0x0

    aget-object v8, v8, v9

    aput-object v8, v5, v6

    const/4 v6, 0x1

    aget-object v8, v7, v24

    const/4 v9, 0x0

    aget-object v8, v8, v9

    aput-object v8, v5, v6

    aput-object v5, v7, v24

    .line 311
    add-int/lit8 v24, v24, 0x1

    goto/16 :goto_3

    .line 424
    .restart local v9    # "provinceText":Landroid/widget/TextView;
    .restart local v10    # "cityText":Landroid/widget/TextView;
    .restart local v19    # "cityButton":Landroid/widget/Button;
    .restart local v20    # "cityLayout":Landroid/widget/LinearLayout;
    .restart local v21    # "dialog":Landroid/app/AlertDialog;
    .restart local v26    # "layout":Landroid/widget/LinearLayout;
    .restart local v27    # "provinceButton":Landroid/widget/Button;
    .restart local v28    # "provinceLayout":Landroid/widget/LinearLayout;
    :cond_a
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->defaultValue:[Ljava/lang/String;

    move-object v5, v0

    const/4 v6, 0x0

    aget-object v5, v5, v6

    aget-object v6, v7, v24

    const/4 v8, 0x0

    aget-object v6, v6, v8

    invoke-virtual {v5, v6}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v5

    if-eqz v5, :cond_c

    .line 425
    aget-object v5, v7, v24

    const/4 v6, 0x0

    aget-object v5, v5, v6

    invoke-virtual {v9, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 426
    aget-object v5, v7, v24

    const/4 v6, 0x1

    aget-object v5, v5, v6

    invoke-virtual {v10, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 427
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->defaultValue:[Ljava/lang/String;

    move-object v5, v0

    const/4 v6, 0x0

    aget-object v5, v5, v6

    aget-object v6, v7, v24

    const/4 v8, 0x0

    aget-object v6, v6, v8

    invoke-virtual {v6}, Ljava/lang/String;->length()I

    move-result v6

    invoke-virtual {v5, v6}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v18

    .line 428
    .local v18, "city":Ljava/lang/String;
    const/16 v25, 0x0

    .local v25, "j":I
    :goto_6
    aget-object v5, v7, v24

    array-length v5, v5

    move/from16 v0, v25

    move v1, v5

    if-ge v0, v1, :cond_2

    .line 429
    aget-object v5, v7, v24

    aget-object v5, v5, v25

    move-object/from16 v0, v18

    move-object v1, v5

    invoke-virtual {v0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v5

    if-eqz v5, :cond_b

    .line 430
    move-object v0, v10

    move-object/from16 v1, v18

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_5

    .line 428
    :cond_b
    add-int/lit8 v25, v25, 0x1

    goto :goto_6

    .line 423
    .end local v18    # "city":Ljava/lang/String;
    .end local v25    # "j":I
    :cond_c
    add-int/lit8 v24, v24, 0x1

    goto/16 :goto_4
.end method

.method private showDate(Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V
    .locals 13
    .param p1, "argumentsSheet"    # Lrexsee/core/browser/clazz/PromptArgumentsSheet;
    .param p2, "returnListener"    # Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;

    .prologue
    .line 1141
    new-instance v9, Landroid/app/AlertDialog$Builder;

    iget-object v10, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    invoke-direct {v9, v10}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    invoke-virtual {v9}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v0

    .line 1142
    .local v0, "dialog":Landroid/app/AlertDialog;
    iget-object v9, p0, Lrexsee/core/browser/RexseePrompt;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v9, v9, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v9, v9, Lrexsee/core/application/RexseeApplication;->icon:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v0, v9}, Landroid/app/AlertDialog;->setIcon(Landroid/graphics/drawable/Drawable;)V

    .line 1143
    iget-object v9, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->title:Ljava/lang/String;

    invoke-static {v9}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v9

    invoke-virtual {v0, v9}, Landroid/app/AlertDialog;->setTitle(Ljava/lang/CharSequence;)V

    .line 1144
    const/4 v9, 0x0

    invoke-virtual {v0, v9}, Landroid/app/AlertDialog;->setCancelable(Z)V

    .line 1145
    new-instance v9, Lrexsee/core/browser/RexseePrompt$53;

    invoke-direct {v9, p0}, Lrexsee/core/browser/RexseePrompt$53;-><init>(Lrexsee/core/browser/RexseePrompt;)V

    invoke-virtual {v0, v9}, Landroid/app/AlertDialog;->setOnKeyListener(Landroid/content/DialogInterface$OnKeyListener;)V

    .line 1152
    new-instance v2, Landroid/widget/LinearLayout;

    iget-object v9, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    invoke-direct {v2, v9}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    .line 1153
    .local v2, "layout":Landroid/widget/LinearLayout;
    const/4 v9, 0x1

    invoke-virtual {v2, v9}, Landroid/widget/LinearLayout;->setOrientation(I)V

    .line 1154
    const/16 v9, 0xa

    invoke-direct {p0, v9}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v9

    const/16 v10, 0xa

    invoke-direct {p0, v10}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v10

    const/16 v11, 0xa

    invoke-direct {p0, v11}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v11

    const/16 v12, 0xa

    invoke-direct {p0, v12}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v12

    invoke-virtual {v2, v9, v10, v11, v12}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    .line 1155
    iget-object v9, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->message:Ljava/lang/String;

    const-string v10, ""

    invoke-virtual {v9, v10}, Ljava/lang/String;->compareTo(Ljava/lang/String;)I

    move-result v9

    if-eqz v9, :cond_0

    .line 1156
    new-instance v8, Landroid/widget/TextView;

    iget-object v9, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    invoke-direct {v8, v9}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    .line 1157
    .local v8, "text":Landroid/widget/TextView;
    new-instance v9, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v10, -0x1

    const/4 v11, -0x2

    invoke-direct {v9, v10, v11}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v2, v8, v9}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 1158
    const/4 v9, 0x0

    const/4 v10, 0x0

    const/4 v11, 0x0

    const/16 v12, 0xa

    invoke-direct {p0, v12}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v12

    invoke-virtual {v8, v9, v10, v11, v12}, Landroid/widget/TextView;->setPadding(IIII)V

    .line 1159
    const/high16 v9, 0x41a00000    # 20.0f

    invoke-virtual {v8, v9}, Landroid/widget/TextView;->setTextSize(F)V

    .line 1160
    const/4 v9, -0x1

    invoke-virtual {v8, v9}, Landroid/widget/TextView;->setTextColor(I)V

    .line 1161
    iget-object v9, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->message:Ljava/lang/String;

    invoke-static {v9}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v9

    invoke-virtual {v8, v9}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1163
    .end local v8    # "text":Landroid/widget/TextView;
    :cond_0
    new-instance v5, Landroid/widget/DatePicker;

    iget-object v9, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    invoke-direct {v5, v9}, Landroid/widget/DatePicker;-><init>(Landroid/content/Context;)V

    .line 1164
    .local v5, "picker":Landroid/widget/DatePicker;
    new-instance v9, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v10, -0x1

    const/4 v11, -0x2

    invoke-direct {v9, v10, v11}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v2, v5, v9}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 1165
    iget-object v9, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->calendar:Ljava/util/Calendar;

    const/4 v10, 0x1

    invoke-virtual {v9, v10}, Ljava/util/Calendar;->get(I)I

    move-result v9

    iget-object v10, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->calendar:Ljava/util/Calendar;

    const/4 v11, 0x2

    invoke-virtual {v10, v11}, Ljava/util/Calendar;->get(I)I

    move-result v10

    iget-object v11, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->calendar:Ljava/util/Calendar;

    const/4 v12, 0x5

    invoke-virtual {v11, v12}, Ljava/util/Calendar;->get(I)I

    move-result v11

    new-instance v12, Lrexsee/core/browser/RexseePrompt$54;

    invoke-direct {v12, p0, p1}, Lrexsee/core/browser/RexseePrompt$54;-><init>(Lrexsee/core/browser/RexseePrompt;Lrexsee/core/browser/clazz/PromptArgumentsSheet;)V

    invoke-virtual {v5, v9, v10, v11, v12}, Landroid/widget/DatePicker;->init(IIILandroid/widget/DatePicker$OnDateChangedListener;)V

    .line 1174
    const/4 v9, 0x0

    :try_start_0
    invoke-virtual {v5, v9}, Landroid/widget/DatePicker;->getChildAt(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/view/ViewGroup;

    .line 1175
    .local v6, "pickerGroup":Landroid/view/ViewGroup;
    iget-object v9, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    invoke-virtual {v9}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v9

    invoke-virtual {v9}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;

    move-result-object v9

    iget-object v4, v9, Landroid/content/res/Configuration;->locale:Ljava/util/Locale;

    .line 1176
    .local v4, "locale":Ljava/util/Locale;
    invoke-virtual {v4}, Ljava/util/Locale;->getLanguage()Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v9}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v1

    .line 1177
    .local v1, "lang":Ljava/lang/String;
    const-string v9, "zh"

    invoke-virtual {v1, v9}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v9

    if-eqz v9, :cond_5

    .line 1178
    const/4 v9, 0x0

    invoke-virtual {v6, v9}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;

    move-result-object v9

    iget-boolean v10, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->yearEnable:Z

    if-eqz v10, :cond_2

    const/4 v10, 0x1

    :goto_0
    invoke-virtual {v9, v10}, Landroid/view/View;->setEnabled(Z)V

    .line 1179
    const/4 v9, 0x1

    invoke-virtual {v6, v9}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;

    move-result-object v9

    iget-boolean v10, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->monthEnable:Z

    if-eqz v10, :cond_3

    const/4 v10, 0x1

    :goto_1
    invoke-virtual {v9, v10}, Landroid/view/View;->setEnabled(Z)V

    .line 1180
    const/4 v9, 0x2

    invoke-virtual {v6, v9}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;

    move-result-object v9

    iget-boolean v10, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->dayEnable:Z

    if-eqz v10, :cond_4

    const/4 v10, 0x1

    :goto_2
    invoke-virtual {v9, v10}, Landroid/view/View;->setEnabled(Z)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 1188
    .end local v1    # "lang":Ljava/lang/String;
    .end local v4    # "locale":Ljava/util/Locale;
    .end local v6    # "pickerGroup":Landroid/view/ViewGroup;
    :goto_3
    new-instance v7, Landroid/widget/ScrollView;

    iget-object v9, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    invoke-direct {v7, v9}, Landroid/widget/ScrollView;-><init>(Landroid/content/Context;)V

    .line 1189
    .local v7, "scroller":Landroid/widget/ScrollView;
    invoke-virtual {v7, v2}, Landroid/widget/ScrollView;->addView(Landroid/view/View;)V

    .line 1190
    invoke-virtual {v0, v7}, Landroid/app/AlertDialog;->setView(Landroid/view/View;)V

    .line 1191
    new-instance v3, Lrexsee/core/browser/RexseePrompt$55;

    invoke-direct {v3, p0, v5, p1, p2}, Lrexsee/core/browser/RexseePrompt$55;-><init>(Lrexsee/core/browser/RexseePrompt;Landroid/widget/DatePicker;Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V

    .line 1213
    .local v3, "listener":Landroid/content/DialogInterface$OnClickListener;
    const/4 v9, -0x1

    iget-object v10, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    invoke-virtual {v10}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v10

    const v11, 0x104000a

    invoke-virtual {v10, v11}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v0, v9, v10, v3}, Landroid/app/AlertDialog;->setButton(ILjava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    .line 1214
    iget-boolean v9, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->cancelable:Z

    if-eqz v9, :cond_1

    const/4 v9, -0x2

    iget-object v10, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    invoke-virtual {v10}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v10

    const/high16 v11, 0x1040000

    invoke-virtual {v10, v11}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v0, v9, v10, v3}, Landroid/app/AlertDialog;->setButton(ILjava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    .line 1215
    :cond_1
    invoke-virtual {v0}, Landroid/app/AlertDialog;->show()V

    .line 1216
    return-void

    .line 1178
    .end local v3    # "listener":Landroid/content/DialogInterface$OnClickListener;
    .end local v7    # "scroller":Landroid/widget/ScrollView;
    .restart local v1    # "lang":Ljava/lang/String;
    .restart local v4    # "locale":Ljava/util/Locale;
    .restart local v6    # "pickerGroup":Landroid/view/ViewGroup;
    :cond_2
    const/4 v10, 0x0

    goto :goto_0

    .line 1179
    :cond_3
    const/4 v10, 0x0

    goto :goto_1

    .line 1180
    :cond_4
    const/4 v10, 0x0

    goto :goto_2

    .line 1182
    :cond_5
    const/4 v9, 0x2

    :try_start_1
    invoke-virtual {v6, v9}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;

    move-result-object v9

    iget-boolean v10, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->yearEnable:Z

    if-eqz v10, :cond_6

    const/4 v10, 0x1

    :goto_4
    invoke-virtual {v9, v10}, Landroid/view/View;->setEnabled(Z)V

    .line 1183
    const/4 v9, 0x0

    invoke-virtual {v6, v9}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;

    move-result-object v9

    iget-boolean v10, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->monthEnable:Z

    if-eqz v10, :cond_7

    const/4 v10, 0x1

    :goto_5
    invoke-virtual {v9, v10}, Landroid/view/View;->setEnabled(Z)V

    .line 1184
    const/4 v9, 0x1

    invoke-virtual {v6, v9}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;

    move-result-object v9

    iget-boolean v10, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->dayEnable:Z

    if-eqz v10, :cond_8

    const/4 v10, 0x1

    :goto_6
    invoke-virtual {v9, v10}, Landroid/view/View;->setEnabled(Z)V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_3

    .line 1186
    .end local v1    # "lang":Ljava/lang/String;
    .end local v4    # "locale":Ljava/util/Locale;
    .end local v6    # "pickerGroup":Landroid/view/ViewGroup;
    :catch_0
    move-exception v9

    goto :goto_3

    .line 1182
    .restart local v1    # "lang":Ljava/lang/String;
    .restart local v4    # "locale":Ljava/util/Locale;
    .restart local v6    # "pickerGroup":Landroid/view/ViewGroup;
    :cond_6
    const/4 v10, 0x0

    goto :goto_4

    .line 1183
    :cond_7
    const/4 v10, 0x0

    goto :goto_5

    .line 1184
    :cond_8
    const/4 v10, 0x0

    goto :goto_6
.end method

.method private showMenu(Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V
    .locals 11
    .param p1, "argumentsSheet"    # Lrexsee/core/browser/clazz/PromptArgumentsSheet;
    .param p2, "returnListener"    # Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;

    .prologue
    const-string v10, "label:"

    const-string v9, ";"

    .line 701
    iget-object v4, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->options:[Ljava/lang/String;

    if-nez v4, :cond_0

    .line 702
    const-string v4, "No options found for menu dialog."

    invoke-direct {p0, v4, p2}, Lrexsee/core/browser/RexseePrompt;->error(Ljava/lang/String;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V

    .line 723
    :goto_0
    return-void

    .line 705
    :cond_0
    new-instance v2, Lrexsee/core/menu/PopMenu;

    iget-object v4, p0, Lrexsee/core/browser/RexseePrompt;->mBrowser:Lrexsee/core/browser/Browser;

    const-string v5, ""

    new-instance v6, Ljava/lang/StringBuilder;

    const-string v7, "label:"

    invoke-direct {v6, v10}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v7, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->title:Ljava/lang/String;

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    const-string v7, ";window-cancelable:"

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    iget-boolean v7, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->cancelable:Z

    if-eqz v7, :cond_1

    const-string v7, "true"

    :goto_1
    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    const-string v7, ";"

    invoke-virtual {v6, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    invoke-direct {v2, v4, v5, v6}, Lrexsee/core/menu/PopMenu;-><init>(Lrexsee/core/browser/Browser;Ljava/lang/String;Ljava/lang/String;)V

    .line 706
    .local v2, "popMenu":Lrexsee/core/menu/PopMenu;
    const/4 v0, 0x0

    .local v0, "i":I
    :goto_2
    iget-object v4, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->options:[Ljava/lang/String;

    array-length v4, v4

    if-lt v0, v4, :cond_2

    .line 716
    new-instance v4, Lrexsee/core/browser/RexseePrompt$37;

    invoke-direct {v4, p0, p2}, Lrexsee/core/browser/RexseePrompt$37;-><init>(Lrexsee/core/browser/RexseePrompt;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V

    iput-object v4, v2, Lrexsee/core/menu/PopMenu;->cancelRunnable:Ljava/lang/Runnable;

    .line 722
    iget-object v4, p0, Lrexsee/core/browser/RexseePrompt;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v4, v4, Lrexsee/core/browser/Browser;->menu:Lrexsee/core/menu/RexseeMenu;

    invoke-virtual {v4, v2}, Lrexsee/core/menu/RexseeMenu;->open(Lrexsee/core/menu/PopMenu;)V

    goto :goto_0

    .line 705
    .end local v0    # "i":I
    .end local v2    # "popMenu":Lrexsee/core/menu/PopMenu;
    :cond_1
    const-string v7, "false"

    goto :goto_1

    .line 707
    .restart local v0    # "i":I
    .restart local v2    # "popMenu":Lrexsee/core/menu/PopMenu;
    :cond_2
    iget-object v4, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->options:[Ljava/lang/String;

    aget-object v1, v4, v0

    .line 708
    .local v1, "itemText":Ljava/lang/String;
    new-instance v3, Lrexsee/core/browser/RexseePrompt$36;

    invoke-direct {v3, p0, p2, v1}, Lrexsee/core/browser/RexseePrompt$36;-><init>(Lrexsee/core/browser/RexseePrompt;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;Ljava/lang/String;)V

    .line 714
    .local v3, "runnable":Ljava/lang/Runnable;
    new-instance v4, Lrexsee/core/menu/PopMenuItem;

    iget-object v5, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    const-string v6, "options"

    new-instance v7, Ljava/lang/StringBuilder;

    const-string v8, "label:"

    invoke-direct {v7, v10}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v7, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    const-string v8, ";"

    invoke-virtual {v7, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v7

    invoke-direct {v4, v5, v6, v3, v7}, Lrexsee/core/menu/PopMenuItem;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/Runnable;Ljava/lang/String;)V

    invoke-virtual {v2, v4}, Lrexsee/core/menu/PopMenu;->add(Lrexsee/core/menu/PopMenuItem;)V

    .line 706
    add-int/lit8 v0, v0, 0x1

    goto :goto_2
.end method

.method private showPrompt(Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V
    .locals 20
    .param p1, "argumentsSheet"    # Lrexsee/core/browser/clazz/PromptArgumentsSheet;
    .param p2, "returnListener"    # Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;

    .prologue
    .line 1003
    new-instance v16, Landroid/app/AlertDialog$Builder;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object/from16 v17, v0

    invoke-direct/range {v16 .. v17}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    invoke-virtual/range {v16 .. v16}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v5

    .line 1004
    .local v5, "dialog":Landroid/app/AlertDialog;
    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mBrowser:Lrexsee/core/browser/Browser;

    move-object/from16 v16, v0

    move-object/from16 v0, v16

    iget-object v0, v0, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    move-object/from16 v16, v0

    move-object/from16 v0, v16

    iget-object v0, v0, Lrexsee/core/application/RexseeApplication;->icon:Landroid/graphics/drawable/Drawable;

    move-object/from16 v16, v0

    move-object v0, v5

    move-object/from16 v1, v16

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog;->setIcon(Landroid/graphics/drawable/Drawable;)V

    .line 1005
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->title:Ljava/lang/String;

    move-object/from16 v16, v0

    invoke-static/range {v16 .. v16}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v16

    move-object v0, v5

    move-object/from16 v1, v16

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog;->setTitle(Ljava/lang/CharSequence;)V

    .line 1006
    const/16 v16, 0x0

    move-object v0, v5

    move/from16 v1, v16

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog;->setCancelable(Z)V

    .line 1007
    new-instance v16, Lrexsee/core/browser/RexseePrompt$49;

    move-object/from16 v0, v16

    move-object/from16 v1, p0

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt$49;-><init>(Lrexsee/core/browser/RexseePrompt;)V

    move-object v0, v5

    move-object/from16 v1, v16

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog;->setOnKeyListener(Landroid/content/DialogInterface$OnKeyListener;)V

    .line 1014
    new-instance v11, Landroid/widget/LinearLayout;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object/from16 v16, v0

    move-object v0, v11

    move-object/from16 v1, v16

    invoke-direct {v0, v1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    .line 1015
    .local v11, "layout":Landroid/widget/LinearLayout;
    const/16 v16, 0x1

    move-object v0, v11

    move/from16 v1, v16

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOrientation(I)V

    .line 1016
    const/16 v16, 0xa

    move-object/from16 v0, p0

    move/from16 v1, v16

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v16

    const/16 v17, 0xa

    move-object/from16 v0, p0

    move/from16 v1, v17

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v17

    const/16 v18, 0xa

    move-object/from16 v0, p0

    move/from16 v1, v18

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v18

    const/16 v19, 0xa

    move-object/from16 v0, p0

    move/from16 v1, v19

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v19

    move-object v0, v11

    move/from16 v1, v16

    move/from16 v2, v17

    move/from16 v3, v18

    move/from16 v4, v19

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    .line 1017
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->message:Ljava/lang/String;

    move-object/from16 v16, v0

    const-string v17, ""

    invoke-virtual/range {v16 .. v17}, Ljava/lang/String;->compareTo(Ljava/lang/String;)I

    move-result v16

    if-eqz v16, :cond_0

    .line 1018
    new-instance v15, Landroid/widget/TextView;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object/from16 v16, v0

    invoke-direct/range {v15 .. v16}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    .line 1019
    .local v15, "text":Landroid/widget/TextView;
    new-instance v16, Landroid/widget/LinearLayout$LayoutParams;

    const/16 v17, -0x1

    const/16 v18, -0x2

    invoke-direct/range {v16 .. v18}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    move-object v0, v11

    move-object v1, v15

    move-object/from16 v2, v16

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 1020
    const/16 v16, 0x0

    const/16 v17, 0x0

    const/16 v18, 0x0

    const/16 v19, 0xa

    move-object/from16 v0, p0

    move/from16 v1, v19

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v19

    invoke-virtual/range {v15 .. v19}, Landroid/widget/TextView;->setPadding(IIII)V

    .line 1021
    const/high16 v16, 0x41a00000    # 20.0f

    invoke-virtual/range {v15 .. v16}, Landroid/widget/TextView;->setTextSize(F)V

    .line 1022
    const/16 v16, -0x1

    invoke-virtual/range {v15 .. v16}, Landroid/widget/TextView;->setTextColor(I)V

    .line 1023
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->message:Ljava/lang/String;

    move-object/from16 v16, v0

    invoke-static/range {v16 .. v16}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v16

    invoke-virtual/range {v15 .. v16}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1025
    .end local v15    # "text":Landroid/widget/TextView;
    :cond_0
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->options:[Ljava/lang/String;

    move-object/from16 v16, v0

    if-nez v16, :cond_9

    .line 1026
    new-instance v6, Landroid/widget/EditText;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object/from16 v16, v0

    move-object v0, v6

    move-object/from16 v1, v16

    invoke-direct {v0, v1}, Landroid/widget/EditText;-><init>(Landroid/content/Context;)V

    .line 1027
    .local v6, "editBox":Landroid/widget/EditText;
    const/16 v16, 0x18

    move-object v0, v6

    move/from16 v1, v16

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setMinHeight(I)V

    .line 1028
    new-instance v16, Landroid/widget/LinearLayout$LayoutParams;

    const/16 v17, -0x1

    const/16 v18, -0x2

    invoke-direct/range {v16 .. v18}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    move-object v0, v11

    move-object v1, v6

    move-object/from16 v2, v16

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 1029
    const/16 v16, 0x0

    move-object v0, v6

    move/from16 v1, v16

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setId(I)V

    .line 1030
    move-object/from16 v0, p1

    iget-boolean v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->selectAll:Z

    move/from16 v16, v0

    if-eqz v16, :cond_1

    const/16 v16, 0x1

    move-object v0, v6

    move/from16 v1, v16

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setSelectAllOnFocus(Z)V

    .line 1031
    :cond_1
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->singleLine:[Ljava/lang/String;

    move-object/from16 v16, v0

    if-eqz v16, :cond_6

    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->singleLine:[Ljava/lang/String;

    move-object/from16 v16, v0

    const/16 v17, 0x0

    aget-object v16, v16, v17

    const-string v17, "false"

    invoke-virtual/range {v16 .. v17}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v16

    if-eqz v16, :cond_6

    const/16 v16, 0x0

    :goto_0
    move-object v0, v6

    move/from16 v1, v16

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setSingleLine(Z)V

    .line 1032
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->max:[Ljava/lang/String;

    move-object/from16 v16, v0

    if-eqz v16, :cond_7

    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->max:[Ljava/lang/String;

    move-object/from16 v16, v0

    const/16 v17, 0x0

    aget-object v16, v16, v17

    const/16 v17, -0x1

    invoke-static/range {v16 .. v17}, Lrexsee/core/utilities/Utilities;->getInt(Ljava/lang/String;I)I

    move-result v16

    move/from16 v13, v16

    .line 1033
    .local v13, "maxLength":I
    :goto_1
    if-lez v13, :cond_2

    .line 1034
    const/16 v16, 0x1

    move/from16 v0, v16

    new-array v0, v0, [Landroid/text/InputFilter;

    move-object v9, v0

    .line 1035
    .local v9, "filter":[Landroid/text/InputFilter;
    const/16 v16, 0x0

    new-instance v17, Landroid/text/InputFilter$LengthFilter;

    move-object/from16 v0, v17

    move v1, v13

    invoke-direct {v0, v1}, Landroid/text/InputFilter$LengthFilter;-><init>(I)V

    aput-object v17, v9, v16

    .line 1036
    invoke-virtual {v6, v9}, Landroid/widget/EditText;->setFilters([Landroid/text/InputFilter;)V

    .line 1038
    .end local v9    # "filter":[Landroid/text/InputFilter;
    :cond_2
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->inputType:[Ljava/lang/String;

    move-object/from16 v16, v0

    if-eqz v16, :cond_3

    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->inputType:[Ljava/lang/String;

    move-object/from16 v16, v0

    const/16 v17, 0x0

    aget-object v16, v16, v17

    invoke-static/range {v16 .. v16}, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->getInputType(Ljava/lang/String;)I

    move-result v16

    move-object v0, v6

    move/from16 v1, v16

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setInputType(I)V

    .line 1039
    :cond_3
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->defaultValue:[Ljava/lang/String;

    move-object/from16 v16, v0

    if-eqz v16, :cond_8

    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->defaultValue:[Ljava/lang/String;

    move-object/from16 v16, v0

    const/16 v17, 0x0

    aget-object v16, v16, v17

    :goto_2
    move-object v0, v6

    move-object/from16 v1, v16

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 1040
    invoke-virtual {v6}, Landroid/widget/EditText;->requestFocus()Z

    .line 1071
    .end local v6    # "editBox":Landroid/widget/EditText;
    .end local v13    # "maxLength":I
    :cond_4
    new-instance v14, Landroid/widget/ScrollView;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object/from16 v16, v0

    move-object v0, v14

    move-object/from16 v1, v16

    invoke-direct {v0, v1}, Landroid/widget/ScrollView;-><init>(Landroid/content/Context;)V

    .line 1072
    .local v14, "scroller":Landroid/widget/ScrollView;
    invoke-virtual {v14, v11}, Landroid/widget/ScrollView;->addView(Landroid/view/View;)V

    .line 1073
    invoke-virtual {v5, v14}, Landroid/app/AlertDialog;->setView(Landroid/view/View;)V

    .line 1074
    new-instance v12, Lrexsee/core/browser/RexseePrompt$50;

    move-object v0, v12

    move-object/from16 v1, p0

    move-object/from16 v2, p1

    move-object/from16 v3, p2

    move-object v4, v11

    invoke-direct {v0, v1, v2, v3, v4}, Lrexsee/core/browser/RexseePrompt$50;-><init>(Lrexsee/core/browser/RexseePrompt;Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;Landroid/widget/LinearLayout;)V

    .line 1097
    .local v12, "listener":Landroid/content/DialogInterface$OnClickListener;
    const/16 v16, -0x1

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object/from16 v17, v0

    invoke-virtual/range {v17 .. v17}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v17

    const v18, 0x104000a

    invoke-virtual/range {v17 .. v18}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v17

    move-object v0, v5

    move/from16 v1, v16

    move-object/from16 v2, v17

    move-object v3, v12

    invoke-virtual {v0, v1, v2, v3}, Landroid/app/AlertDialog;->setButton(ILjava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    .line 1098
    move-object/from16 v0, p1

    iget-boolean v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->cancelable:Z

    move/from16 v16, v0

    if-eqz v16, :cond_5

    const/16 v16, -0x2

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object/from16 v17, v0

    invoke-virtual/range {v17 .. v17}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v17

    const/high16 v18, 0x1040000

    invoke-virtual/range {v17 .. v18}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v17

    move-object v0, v5

    move/from16 v1, v16

    move-object/from16 v2, v17

    move-object v3, v12

    invoke-virtual {v0, v1, v2, v3}, Landroid/app/AlertDialog;->setButton(ILjava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    .line 1099
    :cond_5
    invoke-virtual {v5}, Landroid/app/AlertDialog;->show()V

    .line 1100
    return-void

    .line 1031
    .end local v12    # "listener":Landroid/content/DialogInterface$OnClickListener;
    .end local v14    # "scroller":Landroid/widget/ScrollView;
    .restart local v6    # "editBox":Landroid/widget/EditText;
    :cond_6
    const/16 v16, 0x1

    goto/16 :goto_0

    .line 1032
    :cond_7
    const/16 v16, -0x1

    move/from16 v13, v16

    goto/16 :goto_1

    .line 1039
    .restart local v13    # "maxLength":I
    :cond_8
    const-string v16, ""

    goto :goto_2

    .line 1042
    .end local v6    # "editBox":Landroid/widget/EditText;
    .end local v13    # "maxLength":I
    :cond_9
    const/4 v10, 0x0

    .local v10, "i":I
    :goto_3
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->options:[Ljava/lang/String;

    move-object/from16 v16, v0

    move-object/from16 v0, v16

    array-length v0, v0

    move/from16 v16, v0

    move v0, v10

    move/from16 v1, v16

    if-ge v0, v1, :cond_4

    .line 1043
    new-instance v7, Landroid/widget/LinearLayout;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object/from16 v16, v0

    move-object v0, v7

    move-object/from16 v1, v16

    invoke-direct {v0, v1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    .line 1044
    .local v7, "editLayout":Landroid/widget/LinearLayout;
    new-instance v8, Landroid/widget/TextView;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object/from16 v16, v0

    move-object v0, v8

    move-object/from16 v1, v16

    invoke-direct {v0, v1}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    .line 1045
    .local v8, "editTitle":Landroid/widget/TextView;
    new-instance v6, Landroid/widget/EditText;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object/from16 v16, v0

    move-object v0, v6

    move-object/from16 v1, v16

    invoke-direct {v0, v1}, Landroid/widget/EditText;-><init>(Landroid/content/Context;)V

    .line 1046
    .restart local v6    # "editBox":Landroid/widget/EditText;
    const/16 v16, 0x18

    move-object v0, v6

    move/from16 v1, v16

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setMinHeight(I)V

    .line 1047
    new-instance v16, Landroid/widget/LinearLayout$LayoutParams;

    const/16 v17, 0x5f

    move-object/from16 v0, p0

    move/from16 v1, v17

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v17

    const/16 v18, -0x2

    invoke-direct/range {v16 .. v18}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    move-object v0, v7

    move-object v1, v8

    move-object/from16 v2, v16

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 1048
    new-instance v16, Landroid/widget/LinearLayout$LayoutParams;

    const/16 v17, -0x1

    const/16 v18, -0x2

    invoke-direct/range {v16 .. v18}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    move-object v0, v7

    move-object v1, v6

    move-object/from16 v2, v16

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 1049
    new-instance v16, Landroid/widget/LinearLayout$LayoutParams;

    const/16 v17, -0x1

    const/16 v18, -0x2

    invoke-direct/range {v16 .. v18}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    move-object v0, v11

    move-object v1, v7

    move-object/from16 v2, v16

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 1050
    const/16 v16, 0x0

    move-object v0, v7

    move/from16 v1, v16

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOrientation(I)V

    .line 1051
    const/16 v16, 0x10

    move-object v0, v7

    move/from16 v1, v16

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setGravity(I)V

    .line 1052
    const/high16 v16, 0x41900000    # 18.0f

    move-object v0, v8

    move/from16 v1, v16

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextSize(F)V

    .line 1053
    const/16 v16, -0x1

    move-object v0, v8

    move/from16 v1, v16

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    .line 1054
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->options:[Ljava/lang/String;

    move-object/from16 v16, v0

    aget-object v16, v16, v10

    invoke-static/range {v16 .. v16}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v16

    move-object v0, v8

    move-object/from16 v1, v16

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1055
    invoke-virtual {v6, v10}, Landroid/widget/EditText;->setId(I)V

    .line 1056
    move-object/from16 v0, p1

    iget-boolean v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->selectAll:Z

    move/from16 v16, v0

    if-eqz v16, :cond_a

    const/16 v16, 0x1

    move-object v0, v6

    move/from16 v1, v16

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setSelectAllOnFocus(Z)V

    .line 1057
    :cond_a
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->singleLine:[Ljava/lang/String;

    move-object/from16 v16, v0

    if-eqz v16, :cond_e

    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->singleLine:[Ljava/lang/String;

    move-object/from16 v16, v0

    move-object/from16 v0, v16

    array-length v0, v0

    move/from16 v16, v0

    move/from16 v0, v16

    move v1, v10

    if-le v0, v1, :cond_e

    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->singleLine:[Ljava/lang/String;

    move-object/from16 v16, v0

    aget-object v16, v16, v10

    const-string v17, "false"

    invoke-virtual/range {v16 .. v17}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v16

    if-eqz v16, :cond_e

    const/16 v16, 0x0

    :goto_4
    move-object v0, v6

    move/from16 v1, v16

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setSingleLine(Z)V

    .line 1058
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->max:[Ljava/lang/String;

    move-object/from16 v16, v0

    if-eqz v16, :cond_f

    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->max:[Ljava/lang/String;

    move-object/from16 v16, v0

    move-object/from16 v0, v16

    array-length v0, v0

    move/from16 v16, v0

    move/from16 v0, v16

    move v1, v10

    if-le v0, v1, :cond_f

    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->max:[Ljava/lang/String;

    move-object/from16 v16, v0

    aget-object v16, v16, v10

    const/16 v17, -0x1

    invoke-static/range {v16 .. v17}, Lrexsee/core/utilities/Utilities;->getInt(Ljava/lang/String;I)I

    move-result v16

    move/from16 v13, v16

    .line 1059
    .restart local v13    # "maxLength":I
    :goto_5
    if-lez v13, :cond_b

    .line 1060
    const/16 v16, 0x1

    move/from16 v0, v16

    new-array v0, v0, [Landroid/text/InputFilter;

    move-object v9, v0

    .line 1061
    .restart local v9    # "filter":[Landroid/text/InputFilter;
    const/16 v16, 0x0

    new-instance v17, Landroid/text/InputFilter$LengthFilter;

    move-object/from16 v0, v17

    move v1, v13

    invoke-direct {v0, v1}, Landroid/text/InputFilter$LengthFilter;-><init>(I)V

    aput-object v17, v9, v16

    .line 1062
    invoke-virtual {v6, v9}, Landroid/widget/EditText;->setFilters([Landroid/text/InputFilter;)V

    .line 1064
    .end local v9    # "filter":[Landroid/text/InputFilter;
    :cond_b
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->inputType:[Ljava/lang/String;

    move-object/from16 v16, v0

    if-eqz v16, :cond_c

    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->inputType:[Ljava/lang/String;

    move-object/from16 v16, v0

    move-object/from16 v0, v16

    array-length v0, v0

    move/from16 v16, v0

    move/from16 v0, v16

    move v1, v10

    if-le v0, v1, :cond_c

    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->inputType:[Ljava/lang/String;

    move-object/from16 v16, v0

    aget-object v16, v16, v10

    invoke-static/range {v16 .. v16}, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->getInputType(Ljava/lang/String;)I

    move-result v16

    move-object v0, v6

    move/from16 v1, v16

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setInputType(I)V

    .line 1065
    :cond_c
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->options:[Ljava/lang/String;

    move-object/from16 v16, v0

    aget-object v16, v16, v10

    invoke-static/range {v16 .. v16}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v16

    invoke-interface/range {v16 .. v16}, Landroid/text/Spanned;->toString()Ljava/lang/String;

    move-result-object v16

    move-object v0, v6

    move-object/from16 v1, v16

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setHint(Ljava/lang/CharSequence;)V

    .line 1066
    const-string v16, "#AAAAAA"

    invoke-static/range {v16 .. v16}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v16

    move-object v0, v6

    move/from16 v1, v16

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setHintTextColor(I)V

    .line 1067
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->defaultValue:[Ljava/lang/String;

    move-object/from16 v16, v0

    if-eqz v16, :cond_10

    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->defaultValue:[Ljava/lang/String;

    move-object/from16 v16, v0

    move-object/from16 v0, v16

    array-length v0, v0

    move/from16 v16, v0

    move/from16 v0, v16

    move v1, v10

    if-le v0, v1, :cond_10

    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->defaultValue:[Ljava/lang/String;

    move-object/from16 v16, v0

    aget-object v16, v16, v10

    :goto_6
    move-object v0, v6

    move-object/from16 v1, v16

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 1068
    if-nez v10, :cond_d

    invoke-virtual {v6}, Landroid/widget/EditText;->requestFocus()Z

    .line 1042
    :cond_d
    add-int/lit8 v10, v10, 0x1

    goto/16 :goto_3

    .line 1057
    .end local v13    # "maxLength":I
    :cond_e
    const/16 v16, 0x1

    goto/16 :goto_4

    .line 1058
    :cond_f
    const/16 v16, -0x1

    move/from16 v13, v16

    goto/16 :goto_5

    .line 1067
    .restart local v13    # "maxLength":I
    :cond_10
    const-string v16, ""

    goto :goto_6
.end method

.method private showRadio(Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V
    .locals 19
    .param p1, "argumentsSheet"    # Lrexsee/core/browser/clazz/PromptArgumentsSheet;
    .param p2, "returnListener"    # Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;

    .prologue
    .line 843
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->options:[Ljava/lang/String;

    move-object v15, v0

    if-nez v15, :cond_0

    .line 844
    const-string v15, "No options found for radio dialog."

    move-object/from16 v0, p0

    move-object v1, v15

    move-object/from16 v2, p2

    invoke-direct {v0, v1, v2}, Lrexsee/core/browser/RexseePrompt;->error(Ljava/lang/String;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V

    .line 931
    :goto_0
    return-void

    .line 847
    :cond_0
    new-instance v11, Landroid/graphics/drawable/GradientDrawable;

    sget-object v15, Landroid/graphics/drawable/GradientDrawable$Orientation;->LEFT_RIGHT:Landroid/graphics/drawable/GradientDrawable$Orientation;

    const/16 v16, 0x3

    move/from16 v0, v16

    new-array v0, v0, [I

    move-object/from16 v16, v0

    const/16 v17, 0x0

    const-string v18, "#888888"

    invoke-static/range {v18 .. v18}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v18

    aput v18, v16, v17

    const/16 v17, 0x1

    const-string v18, "#AAAAAA"

    invoke-static/range {v18 .. v18}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v18

    aput v18, v16, v17

    const/16 v17, 0x2

    const/16 v18, -0x1

    aput v18, v16, v17

    move-object v0, v11

    move-object v1, v15

    move-object/from16 v2, v16

    invoke-direct {v0, v1, v2}, Landroid/graphics/drawable/GradientDrawable;-><init>(Landroid/graphics/drawable/GradientDrawable$Orientation;[I)V

    .line 848
    .local v11, "lineDrawable":Landroid/graphics/drawable/GradientDrawable;
    new-instance v15, Landroid/app/AlertDialog$Builder;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object/from16 v16, v0

    invoke-direct/range {v15 .. v16}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    invoke-virtual {v15}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v7

    .line 849
    .local v7, "dialog":Landroid/app/AlertDialog;
    const/4 v15, 0x0

    invoke-virtual {v7, v15}, Landroid/app/AlertDialog;->setCancelable(Z)V

    .line 850
    new-instance v15, Lrexsee/core/browser/RexseePrompt$43;

    move-object v0, v15

    move-object/from16 v1, p0

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt$43;-><init>(Lrexsee/core/browser/RexseePrompt;)V

    invoke-virtual {v7, v15}, Landroid/app/AlertDialog;->setOnKeyListener(Landroid/content/DialogInterface$OnKeyListener;)V

    .line 857
    const/4 v15, 0x1

    invoke-virtual {v7, v15}, Landroid/app/AlertDialog;->setInverseBackgroundForced(Z)V

    .line 858
    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mBrowser:Lrexsee/core/browser/Browser;

    move-object v15, v0

    iget-object v15, v15, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v15, v15, Lrexsee/core/application/RexseeApplication;->icon:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v7, v15}, Landroid/app/AlertDialog;->setIcon(Landroid/graphics/drawable/Drawable;)V

    .line 859
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->title:Ljava/lang/String;

    move-object v15, v0

    invoke-static {v15}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v15

    invoke-virtual {v7, v15}, Landroid/app/AlertDialog;->setTitle(Ljava/lang/CharSequence;)V

    .line 860
    new-instance v9, Landroid/widget/LinearLayout;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v15, v0

    invoke-direct {v9, v15}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    .line 861
    .local v9, "layout":Landroid/widget/LinearLayout;
    const/4 v15, 0x1

    invoke-virtual {v9, v15}, Landroid/widget/LinearLayout;->setOrientation(I)V

    .line 862
    const/16 v15, 0xa

    move-object/from16 v0, p0

    move v1, v15

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v15

    const/16 v16, 0x0

    const/16 v17, 0xa

    move-object/from16 v0, p0

    move/from16 v1, v17

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v17

    const/16 v18, 0x0

    move-object v0, v9

    move v1, v15

    move/from16 v2, v16

    move/from16 v3, v17

    move/from16 v4, v18

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    .line 863
    const/16 v15, 0x118

    move-object/from16 v0, p0

    move v1, v15

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v15

    invoke-virtual {v9, v15}, Landroid/widget/LinearLayout;->setMinimumWidth(I)V

    .line 864
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->message:Ljava/lang/String;

    move-object v15, v0

    const-string v16, ""

    invoke-virtual/range {v15 .. v16}, Ljava/lang/String;->compareTo(Ljava/lang/String;)I

    move-result v15

    if-eqz v15, :cond_1

    .line 865
    new-instance v14, Landroid/widget/TextView;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v15, v0

    invoke-direct {v14, v15}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    .line 866
    .local v14, "text":Landroid/widget/TextView;
    new-instance v15, Landroid/widget/LinearLayout$LayoutParams;

    const/16 v16, -0x1

    const/16 v17, -0x2

    invoke-direct/range {v15 .. v17}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v9, v14, v15}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 867
    const/4 v15, 0x0

    const/16 v16, 0xf

    move-object/from16 v0, p0

    move/from16 v1, v16

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v16

    const/16 v17, 0x0

    const/16 v18, 0xf

    move-object/from16 v0, p0

    move/from16 v1, v18

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v18

    invoke-virtual/range {v14 .. v18}, Landroid/widget/TextView;->setPadding(IIII)V

    .line 868
    const/high16 v15, 0x41a00000    # 20.0f

    invoke-virtual {v14, v15}, Landroid/widget/TextView;->setTextSize(F)V

    .line 869
    const/high16 v15, -0x1000000

    invoke-virtual {v14, v15}, Landroid/widget/TextView;->setTextColor(I)V

    .line 870
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->message:Ljava/lang/String;

    move-object v15, v0

    invoke-static {v15}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v15

    invoke-virtual {v14, v15}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 871
    new-instance v10, Landroid/widget/ImageView;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v15, v0

    invoke-direct {v10, v15}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    .line 872
    .local v10, "line":Landroid/widget/ImageView;
    invoke-virtual {v10, v11}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 873
    new-instance v15, Landroid/widget/LinearLayout$LayoutParams;

    const/16 v16, -0x1

    const/16 v17, 0x1

    invoke-direct/range {v15 .. v17}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v9, v10, v15}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 875
    .end local v10    # "line":Landroid/widget/ImageView;
    .end local v14    # "text":Landroid/widget/TextView;
    :cond_1
    new-instance v12, Landroid/widget/RadioGroup;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v15, v0

    invoke-direct {v12, v15}, Landroid/widget/RadioGroup;-><init>(Landroid/content/Context;)V

    .line 876
    .local v12, "radios":Landroid/widget/RadioGroup;
    const/4 v6, 0x0

    .line 877
    .local v6, "defaultId":I
    const/4 v8, 0x0

    .local v8, "i":I
    :goto_1
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->options:[Ljava/lang/String;

    move-object v15, v0

    array-length v15, v15

    if-lt v8, v15, :cond_4

    .line 896
    invoke-virtual {v12, v6}, Landroid/widget/RadioGroup;->check(I)V

    .line 897
    new-instance v15, Landroid/widget/LinearLayout$LayoutParams;

    const/16 v16, -0x1

    const/16 v17, -0x2

    invoke-direct/range {v15 .. v17}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v9, v12, v15}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 898
    move-object/from16 v0, p1

    iget-boolean v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->returnImmediately:Z

    move v15, v0

    if-eqz v15, :cond_2

    .line 899
    new-instance v15, Lrexsee/core/browser/RexseePrompt$44;

    move-object v0, v15

    move-object/from16 v1, p0

    move-object v2, v7

    move-object/from16 v3, p2

    move-object/from16 v4, p1

    invoke-direct {v0, v1, v2, v3, v4}, Lrexsee/core/browser/RexseePrompt$44;-><init>(Lrexsee/core/browser/RexseePrompt;Landroid/app/AlertDialog;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;Lrexsee/core/browser/clazz/PromptArgumentsSheet;)V

    invoke-virtual {v12, v15}, Landroid/widget/RadioGroup;->setOnCheckedChangeListener(Landroid/widget/RadioGroup$OnCheckedChangeListener;)V

    .line 907
    :cond_2
    new-instance v13, Landroid/widget/ScrollView;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v15, v0

    invoke-direct {v13, v15}, Landroid/widget/ScrollView;-><init>(Landroid/content/Context;)V

    .line 908
    .local v13, "scroller":Landroid/widget/ScrollView;
    const/4 v15, 0x0

    invoke-virtual {v13, v15}, Landroid/widget/ScrollView;->setVerticalFadingEdgeEnabled(Z)V

    .line 909
    const/4 v15, 0x0

    invoke-virtual {v13, v15}, Landroid/widget/ScrollView;->setHorizontalFadingEdgeEnabled(Z)V

    .line 910
    invoke-virtual {v13, v9}, Landroid/widget/ScrollView;->addView(Landroid/view/View;)V

    .line 911
    invoke-virtual {v7, v13}, Landroid/app/AlertDialog;->setView(Landroid/view/View;)V

    .line 912
    move-object/from16 v0, p1

    iget-boolean v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->returnImmediately:Z

    move v15, v0

    if-nez v15, :cond_3

    .line 913
    const/4 v15, -0x1

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object/from16 v16, v0

    invoke-virtual/range {v16 .. v16}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v16

    const v17, 0x104000a

    invoke-virtual/range {v16 .. v17}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v16

    new-instance v17, Lrexsee/core/browser/RexseePrompt$45;

    move-object/from16 v0, v17

    move-object/from16 v1, p0

    move-object/from16 v2, p2

    move-object/from16 v3, p1

    move-object v4, v12

    invoke-direct {v0, v1, v2, v3, v4}, Lrexsee/core/browser/RexseePrompt$45;-><init>(Lrexsee/core/browser/RexseePrompt;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;Lrexsee/core/browser/clazz/PromptArgumentsSheet;Landroid/widget/RadioGroup;)V

    move-object v0, v7

    move v1, v15

    move-object/from16 v2, v16

    move-object/from16 v3, v17

    invoke-virtual {v0, v1, v2, v3}, Landroid/app/AlertDialog;->setButton(ILjava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    .line 920
    move-object/from16 v0, p1

    iget-boolean v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->cancelable:Z

    move v15, v0

    if-eqz v15, :cond_3

    .line 921
    const/4 v15, -0x2

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object/from16 v16, v0

    invoke-virtual/range {v16 .. v16}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v16

    const/high16 v17, 0x1040000

    invoke-virtual/range {v16 .. v17}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v16

    new-instance v17, Lrexsee/core/browser/RexseePrompt$46;

    move-object/from16 v0, v17

    move-object/from16 v1, p0

    move-object/from16 v2, p2

    invoke-direct {v0, v1, v2}, Lrexsee/core/browser/RexseePrompt$46;-><init>(Lrexsee/core/browser/RexseePrompt;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V

    move-object v0, v7

    move v1, v15

    move-object/from16 v2, v16

    move-object/from16 v3, v17

    invoke-virtual {v0, v1, v2, v3}, Landroid/app/AlertDialog;->setButton(ILjava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    .line 930
    :cond_3
    invoke-virtual {v7}, Landroid/app/AlertDialog;->show()V

    goto/16 :goto_0

    .line 878
    .end local v13    # "scroller":Landroid/widget/ScrollView;
    :cond_4
    if-eqz v8, :cond_5

    .line 879
    new-instance v10, Landroid/widget/ImageView;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v15, v0

    invoke-direct {v10, v15}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    .line 880
    .restart local v10    # "line":Landroid/widget/ImageView;
    invoke-virtual {v10, v11}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 881
    new-instance v15, Landroid/widget/LinearLayout$LayoutParams;

    const/16 v16, -0x1

    const/16 v17, 0x1

    invoke-direct/range {v15 .. v17}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v12, v10, v15}, Landroid/widget/RadioGroup;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 883
    .end local v10    # "line":Landroid/widget/ImageView;
    :cond_5
    new-instance v5, Landroid/widget/RadioButton;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    move-object v15, v0

    invoke-direct {v5, v15}, Landroid/widget/RadioButton;-><init>(Landroid/content/Context;)V

    .line 884
    .local v5, "b":Landroid/widget/RadioButton;
    new-instance v15, Landroid/widget/LinearLayout$LayoutParams;

    const/16 v16, -0x1

    const/16 v17, -0x2

    invoke-direct/range {v15 .. v17}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v5, v15}, Landroid/widget/RadioButton;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 885
    const/16 v15, 0x28

    move-object/from16 v0, p0

    move v1, v15

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v15

    const/16 v16, 0xa

    move-object/from16 v0, p0

    move/from16 v1, v16

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v16

    const/16 v17, 0xa

    move-object/from16 v0, p0

    move/from16 v1, v17

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v17

    const/16 v18, 0xa

    move-object/from16 v0, p0

    move/from16 v1, v18

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v18

    move-object v0, v5

    move v1, v15

    move/from16 v2, v16

    move/from16 v3, v17

    move/from16 v4, v18

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/widget/RadioButton;->setPadding(IIII)V

    .line 886
    const/16 v15, 0x3c

    move-object/from16 v0, p0

    move v1, v15

    invoke-direct {v0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v15

    invoke-virtual {v5, v15}, Landroid/widget/RadioButton;->setMinimumHeight(I)V

    .line 887
    const/high16 v15, 0x41a00000    # 20.0f

    invoke-virtual {v5, v15}, Landroid/widget/RadioButton;->setTextSize(F)V

    .line 888
    const/high16 v15, -0x1000000

    invoke-virtual {v5, v15}, Landroid/widget/RadioButton;->setTextColor(I)V

    .line 889
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->options:[Ljava/lang/String;

    move-object v15, v0

    aget-object v15, v15, v8

    invoke-static {v15}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v15

    invoke-virtual {v5, v15}, Landroid/widget/RadioButton;->setText(Ljava/lang/CharSequence;)V

    .line 890
    invoke-virtual {v5, v8}, Landroid/widget/RadioButton;->setId(I)V

    .line 891
    invoke-virtual {v12, v5}, Landroid/widget/RadioGroup;->addView(Landroid/view/View;)V

    .line 892
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->defaultValue:[Ljava/lang/String;

    move-object v15, v0

    if-eqz v15, :cond_6

    .line 893
    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->defaultValue:[Ljava/lang/String;

    move-object v15, v0

    const/16 v16, 0x0

    aget-object v15, v15, v16

    move-object/from16 v0, p1

    iget-object v0, v0, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->options:[Ljava/lang/String;

    move-object/from16 v16, v0

    aget-object v16, v16, v8

    invoke-virtual/range {v15 .. v16}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v15

    if-eqz v15, :cond_6

    move v6, v8

    .line 877
    :cond_6
    add-int/lit8 v8, v8, 0x1

    goto/16 :goto_1
.end method

.method private showRating(Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V
    .locals 13
    .param p1, "argumentsSheet"    # Lrexsee/core/browser/clazz/PromptArgumentsSheet;
    .param p2, "returnListener"    # Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;

    .prologue
    .line 237
    new-instance v9, Landroid/app/AlertDialog$Builder;

    iget-object v10, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    invoke-direct {v9, v10}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    invoke-virtual {v9}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v0

    .line 238
    .local v0, "dialog":Landroid/app/AlertDialog;
    iget-object v9, p0, Lrexsee/core/browser/RexseePrompt;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v9, v9, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v9, v9, Lrexsee/core/application/RexseeApplication;->icon:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v0, v9}, Landroid/app/AlertDialog;->setIcon(Landroid/graphics/drawable/Drawable;)V

    .line 239
    iget-object v9, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->title:Ljava/lang/String;

    invoke-static {v9}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v9

    invoke-virtual {v0, v9}, Landroid/app/AlertDialog;->setTitle(Ljava/lang/CharSequence;)V

    .line 240
    const/4 v9, 0x0

    invoke-virtual {v0, v9}, Landroid/app/AlertDialog;->setCancelable(Z)V

    .line 241
    new-instance v9, Lrexsee/core/browser/RexseePrompt$19;

    invoke-direct {v9, p0}, Lrexsee/core/browser/RexseePrompt$19;-><init>(Lrexsee/core/browser/RexseePrompt;)V

    invoke-virtual {v0, v9}, Landroid/app/AlertDialog;->setOnKeyListener(Landroid/content/DialogInterface$OnKeyListener;)V

    .line 248
    new-instance v3, Landroid/widget/LinearLayout;

    iget-object v9, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    invoke-direct {v3, v9}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    .line 249
    .local v3, "layout":Landroid/widget/LinearLayout;
    const/4 v9, 0x1

    invoke-virtual {v3, v9}, Landroid/widget/LinearLayout;->setOrientation(I)V

    .line 250
    const/16 v9, 0xa

    invoke-direct {p0, v9}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v9

    const/16 v10, 0xa

    invoke-direct {p0, v10}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v10

    const/16 v11, 0xa

    invoke-direct {p0, v11}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v11

    const/16 v12, 0xa

    invoke-direct {p0, v12}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v12

    invoke-virtual {v3, v9, v10, v11, v12}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    .line 251
    iget-object v9, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->message:Ljava/lang/String;

    const-string v10, ""

    invoke-virtual {v9, v10}, Ljava/lang/String;->compareTo(Ljava/lang/String;)I

    move-result v9

    if-eqz v9, :cond_0

    .line 252
    new-instance v8, Landroid/widget/TextView;

    iget-object v9, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    invoke-direct {v8, v9}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    .line 253
    .local v8, "text":Landroid/widget/TextView;
    const/4 v9, 0x0

    const/16 v10, 0xa

    invoke-direct {p0, v10}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v10

    const/4 v11, 0x0

    const/16 v12, 0xa

    invoke-direct {p0, v12}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v12

    invoke-virtual {v8, v9, v10, v11, v12}, Landroid/widget/TextView;->setPadding(IIII)V

    .line 254
    new-instance v9, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v10, -0x1

    const/4 v11, -0x2

    invoke-direct {v9, v10, v11}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v3, v8, v9}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 255
    const/high16 v9, 0x41a00000    # 20.0f

    invoke-virtual {v8, v9}, Landroid/widget/TextView;->setTextSize(F)V

    .line 256
    const/4 v9, -0x1

    invoke-virtual {v8, v9}, Landroid/widget/TextView;->setTextColor(I)V

    .line 257
    iget-object v9, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->message:Ljava/lang/String;

    invoke-static {v9}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v9

    invoke-virtual {v8, v9}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 259
    .end local v8    # "text":Landroid/widget/TextView;
    :cond_0
    iget-object v9, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->options:[Ljava/lang/String;

    if-nez v9, :cond_6

    .line 260
    iget-object v9, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->max:[Ljava/lang/String;

    if-eqz v9, :cond_3

    iget-object v9, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->max:[Ljava/lang/String;

    const/4 v10, 0x0

    aget-object v9, v9, v10

    const/4 v10, 0x5

    invoke-static {v9, v10}, Lrexsee/core/utilities/Utilities;->getInt(Ljava/lang/String;I)I

    move-result v9

    move v5, v9

    .line 261
    .local v5, "max":I
    :goto_0
    iget-object v9, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->defaultValue:[Ljava/lang/String;

    if-eqz v9, :cond_4

    iget-object v9, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->defaultValue:[Ljava/lang/String;

    const/4 v10, 0x0

    aget-object v9, v9, v10

    const/4 v10, 0x5

    invoke-static {v9, v10}, Lrexsee/core/utilities/Utilities;->getInt(Ljava/lang/String;I)I

    move-result v9

    move v2, v9

    .line 262
    .local v2, "init":I
    :goto_1
    new-instance v6, Lrexsee/core/widget/RatingStars;

    iget-object v9, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    const/4 v10, 0x0

    const/4 v11, 0x5

    if-le v5, v11, :cond_5

    const/4 v11, 0x1

    :goto_2
    invoke-direct {v6, v9, v10, v2, v11}, Lrexsee/core/widget/RatingStars;-><init>(Landroid/content/Context;Ljava/lang/String;IZ)V

    .line 263
    .local v6, "ratingLayout":Lrexsee/core/widget/RatingStars;
    const/4 v9, 0x0

    invoke-virtual {v6, v9}, Lrexsee/core/widget/RatingStars;->setId(I)V

    .line 264
    new-instance v9, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v10, -0x1

    const/4 v11, -0x2

    invoke-direct {v9, v10, v11}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v3, v6, v9}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 274
    .end local v2    # "init":I
    .end local v5    # "max":I
    .end local v6    # "ratingLayout":Lrexsee/core/widget/RatingStars;
    :cond_1
    new-instance v7, Landroid/widget/ScrollView;

    iget-object v9, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    invoke-direct {v7, v9}, Landroid/widget/ScrollView;-><init>(Landroid/content/Context;)V

    .line 275
    .local v7, "scroller":Landroid/widget/ScrollView;
    invoke-virtual {v7, v3}, Landroid/widget/ScrollView;->addView(Landroid/view/View;)V

    .line 276
    invoke-virtual {v0, v7}, Landroid/app/AlertDialog;->setView(Landroid/view/View;)V

    .line 277
    new-instance v4, Lrexsee/core/browser/RexseePrompt$20;

    invoke-direct {v4, p0, p1, p2, v3}, Lrexsee/core/browser/RexseePrompt$20;-><init>(Lrexsee/core/browser/RexseePrompt;Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;Landroid/widget/LinearLayout;)V

    .line 300
    .local v4, "listener":Landroid/content/DialogInterface$OnClickListener;
    const/4 v9, -0x1

    iget-object v10, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    invoke-virtual {v10}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v10

    const v11, 0x104000a

    invoke-virtual {v10, v11}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v0, v9, v10, v4}, Landroid/app/AlertDialog;->setButton(ILjava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    .line 301
    iget-boolean v9, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->cancelable:Z

    if-eqz v9, :cond_2

    const/4 v9, -0x2

    iget-object v10, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    invoke-virtual {v10}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v10

    const/high16 v11, 0x1040000

    invoke-virtual {v10, v11}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v0, v9, v10, v4}, Landroid/app/AlertDialog;->setButton(ILjava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    .line 302
    :cond_2
    invoke-virtual {v0}, Landroid/app/AlertDialog;->show()V

    .line 303
    return-void

    .line 260
    .end local v4    # "listener":Landroid/content/DialogInterface$OnClickListener;
    .end local v7    # "scroller":Landroid/widget/ScrollView;
    :cond_3
    const/4 v9, 0x5

    move v5, v9

    goto :goto_0

    .line 261
    .restart local v5    # "max":I
    :cond_4
    const/4 v9, 0x0

    move v2, v9

    goto :goto_1

    .line 262
    .restart local v2    # "init":I
    :cond_5
    const/4 v11, 0x0

    goto :goto_2

    .line 266
    .end local v2    # "init":I
    .end local v5    # "max":I
    :cond_6
    const/4 v1, 0x0

    .local v1, "i":I
    :goto_3
    iget-object v9, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->options:[Ljava/lang/String;

    array-length v9, v9

    if-ge v1, v9, :cond_1

    .line 267
    iget-object v9, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->max:[Ljava/lang/String;

    if-eqz v9, :cond_7

    iget-object v9, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->max:[Ljava/lang/String;

    array-length v9, v9

    if-le v9, v1, :cond_7

    iget-object v9, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->max:[Ljava/lang/String;

    aget-object v9, v9, v1

    const/4 v10, 0x5

    invoke-static {v9, v10}, Lrexsee/core/utilities/Utilities;->getInt(Ljava/lang/String;I)I

    move-result v9

    move v5, v9

    .line 268
    .restart local v5    # "max":I
    :goto_4
    iget-object v9, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->defaultValue:[Ljava/lang/String;

    if-eqz v9, :cond_8

    iget-object v9, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->defaultValue:[Ljava/lang/String;

    array-length v9, v9

    if-le v9, v1, :cond_8

    iget-object v9, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->defaultValue:[Ljava/lang/String;

    aget-object v9, v9, v1

    const/4 v10, 0x0

    invoke-static {v9, v10}, Lrexsee/core/utilities/Utilities;->getInt(Ljava/lang/String;I)I

    move-result v9

    move v2, v9

    .line 269
    .restart local v2    # "init":I
    :goto_5
    new-instance v6, Lrexsee/core/widget/RatingStars;

    iget-object v9, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    iget-object v10, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->options:[Ljava/lang/String;

    aget-object v10, v10, v1

    const/4 v11, 0x5

    if-le v5, v11, :cond_9

    const/4 v11, 0x1

    :goto_6
    invoke-direct {v6, v9, v10, v2, v11}, Lrexsee/core/widget/RatingStars;-><init>(Landroid/content/Context;Ljava/lang/String;IZ)V

    .line 270
    .restart local v6    # "ratingLayout":Lrexsee/core/widget/RatingStars;
    invoke-virtual {v6, v1}, Lrexsee/core/widget/RatingStars;->setId(I)V

    .line 271
    new-instance v9, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v10, -0x1

    const/4 v11, -0x2

    invoke-direct {v9, v10, v11}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v3, v6, v9}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 266
    add-int/lit8 v1, v1, 0x1

    goto :goto_3

    .line 267
    .end local v2    # "init":I
    .end local v5    # "max":I
    .end local v6    # "ratingLayout":Lrexsee/core/widget/RatingStars;
    :cond_7
    const/4 v9, 0x5

    move v5, v9

    goto :goto_4

    .line 268
    .restart local v5    # "max":I
    :cond_8
    const/4 v9, 0x0

    move v2, v9

    goto :goto_5

    .line 269
    .restart local v2    # "init":I
    :cond_9
    const/4 v11, 0x0

    goto :goto_6
.end method

.method private showSlider(Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V
    .locals 13
    .param p1, "argumentsSheet"    # Lrexsee/core/browser/clazz/PromptArgumentsSheet;
    .param p2, "returnListener"    # Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;

    .prologue
    .line 933
    new-instance v1, Landroid/app/AlertDialog$Builder;

    iget-object v2, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    invoke-direct {v1, v2}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    invoke-virtual {v1}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v7

    .line 934
    .local v7, "dialog":Landroid/app/AlertDialog;
    iget-object v1, p0, Lrexsee/core/browser/RexseePrompt;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v1, v1, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v1, v1, Lrexsee/core/application/RexseeApplication;->icon:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v7, v1}, Landroid/app/AlertDialog;->setIcon(Landroid/graphics/drawable/Drawable;)V

    .line 935
    iget-object v1, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->title:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v1

    invoke-virtual {v7, v1}, Landroid/app/AlertDialog;->setTitle(Ljava/lang/CharSequence;)V

    .line 936
    const/4 v1, 0x0

    invoke-virtual {v7, v1}, Landroid/app/AlertDialog;->setCancelable(Z)V

    .line 937
    new-instance v1, Lrexsee/core/browser/RexseePrompt$47;

    invoke-direct {v1, p0}, Lrexsee/core/browser/RexseePrompt$47;-><init>(Lrexsee/core/browser/RexseePrompt;)V

    invoke-virtual {v7, v1}, Landroid/app/AlertDialog;->setOnKeyListener(Landroid/content/DialogInterface$OnKeyListener;)V

    .line 944
    new-instance v9, Landroid/widget/LinearLayout;

    iget-object v1, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    invoke-direct {v9, v1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    .line 945
    .local v9, "layout":Landroid/widget/LinearLayout;
    const/4 v1, 0x1

    invoke-virtual {v9, v1}, Landroid/widget/LinearLayout;->setOrientation(I)V

    .line 946
    const/16 v1, 0xa

    invoke-direct {p0, v1}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v1

    const/16 v2, 0xa

    invoke-direct {p0, v2}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v2

    const/16 v3, 0xa

    invoke-direct {p0, v3}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v3

    const/16 v4, 0xa

    invoke-direct {p0, v4}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v4

    invoke-virtual {v9, v1, v2, v3, v4}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    .line 947
    iget-object v1, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->message:Ljava/lang/String;

    const-string v2, ""

    invoke-virtual {v1, v2}, Ljava/lang/String;->compareTo(Ljava/lang/String;)I

    move-result v1

    if-eqz v1, :cond_0

    .line 948
    new-instance v12, Landroid/widget/TextView;

    iget-object v1, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    invoke-direct {v12, v1}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    .line 949
    .local v12, "text":Landroid/widget/TextView;
    new-instance v1, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v2, -0x1

    const/4 v3, -0x2

    invoke-direct {v1, v2, v3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v9, v12, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 950
    const/4 v1, 0x0

    const/4 v2, 0x0

    const/4 v3, 0x0

    const/16 v4, 0xa

    invoke-direct {p0, v4}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v4

    invoke-virtual {v12, v1, v2, v3, v4}, Landroid/widget/TextView;->setPadding(IIII)V

    .line 951
    const/high16 v1, 0x41a00000    # 20.0f

    invoke-virtual {v12, v1}, Landroid/widget/TextView;->setTextSize(F)V

    .line 952
    const/4 v1, -0x1

    invoke-virtual {v12, v1}, Landroid/widget/TextView;->setTextColor(I)V

    .line 953
    iget-object v1, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->message:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v1

    invoke-virtual {v12, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 955
    .end local v12    # "text":Landroid/widget/TextView;
    :cond_0
    iget-object v1, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->options:[Ljava/lang/String;

    if-nez v1, :cond_6

    .line 956
    iget-object v1, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->min:[Ljava/lang/String;

    if-eqz v1, :cond_3

    iget-object v1, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->min:[Ljava/lang/String;

    const/4 v2, 0x0

    aget-object v1, v1, v2

    const/4 v2, 0x0

    invoke-static {v1, v2}, Lrexsee/core/utilities/Utilities;->getInt(Ljava/lang/String;I)I

    move-result v1

    move v3, v1

    .line 957
    .local v3, "begin":I
    :goto_0
    iget-object v1, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->max:[Ljava/lang/String;

    if-eqz v1, :cond_4

    iget-object v1, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->max:[Ljava/lang/String;

    const/4 v2, 0x0

    aget-object v1, v1, v2

    const/16 v2, 0x64

    invoke-static {v1, v2}, Lrexsee/core/utilities/Utilities;->getInt(Ljava/lang/String;I)I

    move-result v1

    move v4, v1

    .line 958
    .local v4, "end":I
    :goto_1
    iget-object v1, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->defaultValue:[Ljava/lang/String;

    if-eqz v1, :cond_5

    iget-object v1, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->defaultValue:[Ljava/lang/String;

    const/4 v2, 0x0

    aget-object v1, v1, v2

    const/4 v2, 0x0

    invoke-static {v1, v2}, Lrexsee/core/utilities/Utilities;->getInt(Ljava/lang/String;I)I

    move-result v1

    move v5, v1

    .line 959
    .local v5, "value":I
    :goto_2
    new-instance v0, Lrexsee/core/widget/Slider;

    iget-object v1, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    const/4 v2, 0x0

    const/4 v6, 0x0

    invoke-direct/range {v0 .. v6}, Lrexsee/core/widget/Slider;-><init>(Landroid/content/Context;Ljava/lang/String;IIILrexsee/core/widget/Slider$OnSliderChangeListener;)V

    .line 960
    .local v0, "slider":Lrexsee/core/widget/Slider;
    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lrexsee/core/widget/Slider;->setId(I)V

    .line 961
    new-instance v1, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v2, -0x1

    const/4 v3, -0x2

    invoke-direct {v1, v2, v3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    .end local v3    # "begin":I
    invoke-virtual {v9, v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 972
    .end local v0    # "slider":Lrexsee/core/widget/Slider;
    .end local v4    # "end":I
    .end local v5    # "value":I
    :cond_1
    new-instance v11, Landroid/widget/ScrollView;

    iget-object v1, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    invoke-direct {v11, v1}, Landroid/widget/ScrollView;-><init>(Landroid/content/Context;)V

    .line 973
    .local v11, "scroller":Landroid/widget/ScrollView;
    invoke-virtual {v11, v9}, Landroid/widget/ScrollView;->addView(Landroid/view/View;)V

    .line 974
    invoke-virtual {v7, v11}, Landroid/app/AlertDialog;->setView(Landroid/view/View;)V

    .line 975
    new-instance v10, Lrexsee/core/browser/RexseePrompt$48;

    invoke-direct {v10, p0, p1, p2, v9}, Lrexsee/core/browser/RexseePrompt$48;-><init>(Lrexsee/core/browser/RexseePrompt;Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;Landroid/widget/LinearLayout;)V

    .line 998
    .local v10, "listener":Landroid/content/DialogInterface$OnClickListener;
    const/4 v1, -0x1

    iget-object v2, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x104000a

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v7, v1, v2, v10}, Landroid/app/AlertDialog;->setButton(ILjava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    .line 999
    iget-boolean v1, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->cancelable:Z

    if-eqz v1, :cond_2

    const/4 v1, -0x2

    iget-object v2, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const/high16 v3, 0x1040000

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v7, v1, v2, v10}, Landroid/app/AlertDialog;->setButton(ILjava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    .line 1000
    :cond_2
    invoke-virtual {v7}, Landroid/app/AlertDialog;->show()V

    .line 1001
    return-void

    .line 956
    .end local v10    # "listener":Landroid/content/DialogInterface$OnClickListener;
    .end local v11    # "scroller":Landroid/widget/ScrollView;
    :cond_3
    const/4 v1, 0x0

    move v3, v1

    goto :goto_0

    .line 957
    .restart local v3    # "begin":I
    :cond_4
    const/16 v1, 0x64

    move v4, v1

    goto :goto_1

    .line 958
    .restart local v4    # "end":I
    :cond_5
    const/4 v1, 0x0

    move v5, v1

    goto :goto_2

    .line 963
    .end local v3    # "begin":I
    .end local v4    # "end":I
    :cond_6
    const/4 v8, 0x0

    .local v8, "i":I
    :goto_3
    iget-object v1, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->options:[Ljava/lang/String;

    array-length v1, v1

    if-ge v8, v1, :cond_1

    .line 964
    iget-object v1, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->min:[Ljava/lang/String;

    if-eqz v1, :cond_7

    iget-object v1, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->min:[Ljava/lang/String;

    array-length v1, v1

    if-le v1, v8, :cond_7

    iget-object v1, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->min:[Ljava/lang/String;

    aget-object v1, v1, v8

    const/4 v2, 0x0

    invoke-static {v1, v2}, Lrexsee/core/utilities/Utilities;->getInt(Ljava/lang/String;I)I

    move-result v1

    move v3, v1

    .line 965
    .restart local v3    # "begin":I
    :goto_4
    iget-object v1, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->max:[Ljava/lang/String;

    if-eqz v1, :cond_8

    iget-object v1, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->max:[Ljava/lang/String;

    array-length v1, v1

    if-le v1, v8, :cond_8

    iget-object v1, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->max:[Ljava/lang/String;

    aget-object v1, v1, v8

    const/16 v2, 0x64

    invoke-static {v1, v2}, Lrexsee/core/utilities/Utilities;->getInt(Ljava/lang/String;I)I

    move-result v1

    move v4, v1

    .line 966
    .restart local v4    # "end":I
    :goto_5
    iget-object v1, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->defaultValue:[Ljava/lang/String;

    if-eqz v1, :cond_9

    iget-object v1, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->defaultValue:[Ljava/lang/String;

    array-length v1, v1

    if-le v1, v8, :cond_9

    iget-object v1, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->defaultValue:[Ljava/lang/String;

    aget-object v1, v1, v8

    const/4 v2, 0x0

    invoke-static {v1, v2}, Lrexsee/core/utilities/Utilities;->getInt(Ljava/lang/String;I)I

    move-result v1

    move v5, v1

    .line 967
    .restart local v5    # "value":I
    :goto_6
    new-instance v0, Lrexsee/core/widget/Slider;

    iget-object v1, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    iget-object v2, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->options:[Ljava/lang/String;

    aget-object v2, v2, v8

    const/4 v6, 0x0

    invoke-direct/range {v0 .. v6}, Lrexsee/core/widget/Slider;-><init>(Landroid/content/Context;Ljava/lang/String;IIILrexsee/core/widget/Slider$OnSliderChangeListener;)V

    .line 968
    .restart local v0    # "slider":Lrexsee/core/widget/Slider;
    invoke-virtual {v0, v8}, Lrexsee/core/widget/Slider;->setId(I)V

    .line 969
    new-instance v1, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v2, -0x1

    const/4 v3, -0x2

    invoke-direct {v1, v2, v3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    .end local v3    # "begin":I
    invoke-virtual {v9, v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 963
    add-int/lit8 v8, v8, 0x1

    goto :goto_3

    .line 964
    .end local v0    # "slider":Lrexsee/core/widget/Slider;
    .end local v4    # "end":I
    .end local v5    # "value":I
    :cond_7
    const/4 v1, 0x0

    move v3, v1

    goto :goto_4

    .line 965
    .restart local v3    # "begin":I
    :cond_8
    const/16 v1, 0x64

    move v4, v1

    goto :goto_5

    .line 966
    .restart local v4    # "end":I
    :cond_9
    const/4 v1, 0x0

    move v5, v1

    goto :goto_6
.end method

.method private showTime(Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V
    .locals 11
    .param p1, "argumentsSheet"    # Lrexsee/core/browser/clazz/PromptArgumentsSheet;
    .param p2, "returnListener"    # Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;

    .prologue
    .line 1218
    new-instance v7, Landroid/app/AlertDialog$Builder;

    iget-object v8, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    invoke-direct {v7, v8}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    invoke-virtual {v7}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v0

    .line 1219
    .local v0, "dialog":Landroid/app/AlertDialog;
    iget-object v7, p0, Lrexsee/core/browser/RexseePrompt;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v7, v7, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v7, v7, Lrexsee/core/application/RexseeApplication;->icon:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v0, v7}, Landroid/app/AlertDialog;->setIcon(Landroid/graphics/drawable/Drawable;)V

    .line 1220
    iget-object v7, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->title:Ljava/lang/String;

    invoke-static {v7}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v7

    invoke-virtual {v0, v7}, Landroid/app/AlertDialog;->setTitle(Ljava/lang/CharSequence;)V

    .line 1221
    const/4 v7, 0x0

    invoke-virtual {v0, v7}, Landroid/app/AlertDialog;->setCancelable(Z)V

    .line 1222
    new-instance v7, Lrexsee/core/browser/RexseePrompt$56;

    invoke-direct {v7, p0}, Lrexsee/core/browser/RexseePrompt$56;-><init>(Lrexsee/core/browser/RexseePrompt;)V

    invoke-virtual {v0, v7}, Landroid/app/AlertDialog;->setOnKeyListener(Landroid/content/DialogInterface$OnKeyListener;)V

    .line 1229
    new-instance v2, Landroid/widget/LinearLayout;

    iget-object v7, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    invoke-direct {v2, v7}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    .line 1230
    .local v2, "layout":Landroid/widget/LinearLayout;
    const/4 v7, 0x1

    invoke-virtual {v2, v7}, Landroid/widget/LinearLayout;->setOrientation(I)V

    .line 1231
    const/16 v7, 0xa

    invoke-direct {p0, v7}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v7

    const/16 v8, 0xa

    invoke-direct {p0, v8}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v8

    const/16 v9, 0xa

    invoke-direct {p0, v9}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v9

    const/16 v10, 0xa

    invoke-direct {p0, v10}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v10

    invoke-virtual {v2, v7, v8, v9, v10}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    .line 1232
    iget-object v7, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->message:Ljava/lang/String;

    const-string v8, ""

    invoke-virtual {v7, v8}, Ljava/lang/String;->compareTo(Ljava/lang/String;)I

    move-result v7

    if-eqz v7, :cond_0

    .line 1233
    new-instance v6, Landroid/widget/TextView;

    iget-object v7, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    invoke-direct {v6, v7}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    .line 1234
    .local v6, "text":Landroid/widget/TextView;
    new-instance v7, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v8, -0x1

    const/4 v9, -0x2

    invoke-direct {v7, v8, v9}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v2, v6, v7}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 1235
    const/4 v7, 0x0

    const/4 v8, 0x0

    const/4 v9, 0x0

    const/16 v10, 0xa

    invoke-direct {p0, v10}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v10

    invoke-virtual {v6, v7, v8, v9, v10}, Landroid/widget/TextView;->setPadding(IIII)V

    .line 1236
    const/high16 v7, 0x41a00000    # 20.0f

    invoke-virtual {v6, v7}, Landroid/widget/TextView;->setTextSize(F)V

    .line 1237
    const/4 v7, -0x1

    invoke-virtual {v6, v7}, Landroid/widget/TextView;->setTextColor(I)V

    .line 1238
    iget-object v7, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->message:Ljava/lang/String;

    invoke-static {v7}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v7

    invoke-virtual {v6, v7}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1240
    .end local v6    # "text":Landroid/widget/TextView;
    :cond_0
    new-instance v1, Landroid/widget/TextView;

    iget-object v7, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    invoke-direct {v1, v7}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    .line 1241
    .local v1, "header":Landroid/widget/TextView;
    new-instance v4, Landroid/widget/TimePicker;

    iget-object v7, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    invoke-direct {v4, v7}, Landroid/widget/TimePicker;-><init>(Landroid/content/Context;)V

    .line 1242
    .local v4, "picker":Landroid/widget/TimePicker;
    new-instance v7, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v8, -0x1

    const/4 v9, -0x2

    invoke-direct {v7, v8, v9}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v2, v1, v7}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 1243
    new-instance v7, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v8, -0x1

    const/4 v9, -0x2

    invoke-direct {v7, v8, v9}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v2, v4, v7}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 1244
    const/4 v7, 0x4

    invoke-direct {p0, v7}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v7

    const/4 v8, 0x0

    const/4 v9, 0x0

    const/16 v10, 0xa

    invoke-direct {p0, v10}, Lrexsee/core/browser/RexseePrompt;->scale(I)I

    move-result v10

    invoke-virtual {v1, v7, v8, v9, v10}, Landroid/widget/TextView;->setPadding(IIII)V

    .line 1245
    const/high16 v7, 0x41800000    # 16.0f

    invoke-virtual {v1, v7}, Landroid/widget/TextView;->setTextSize(F)V

    .line 1246
    const/4 v7, -0x1

    invoke-virtual {v1, v7}, Landroid/widget/TextView;->setTextColor(I)V

    .line 1247
    invoke-virtual {p1}, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->getTime()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v1, v7}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1248
    iget-object v7, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->calendar:Ljava/util/Calendar;

    const/16 v8, 0xb

    invoke-virtual {v7, v8}, Ljava/util/Calendar;->get(I)I

    move-result v7

    invoke-static {v7}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v7

    invoke-virtual {v4, v7}, Landroid/widget/TimePicker;->setCurrentHour(Ljava/lang/Integer;)V

    .line 1249
    iget-object v7, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->calendar:Ljava/util/Calendar;

    const/16 v8, 0xc

    invoke-virtual {v7, v8}, Ljava/util/Calendar;->get(I)I

    move-result v7

    invoke-static {v7}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v7

    invoke-virtual {v4, v7}, Landroid/widget/TimePicker;->setCurrentMinute(Ljava/lang/Integer;)V

    .line 1250
    iget-boolean v7, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->hour24:Z

    if-eqz v7, :cond_2

    const/4 v7, 0x1

    :goto_0
    invoke-static {v7}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v7

    invoke-virtual {v4, v7}, Landroid/widget/TimePicker;->setIs24HourView(Ljava/lang/Boolean;)V

    .line 1251
    new-instance v7, Lrexsee/core/browser/RexseePrompt$57;

    invoke-direct {v7, p0, p1, v1}, Lrexsee/core/browser/RexseePrompt$57;-><init>(Lrexsee/core/browser/RexseePrompt;Lrexsee/core/browser/clazz/PromptArgumentsSheet;Landroid/widget/TextView;)V

    invoke-virtual {v4, v7}, Landroid/widget/TimePicker;->setOnTimeChangedListener(Landroid/widget/TimePicker$OnTimeChangedListener;)V

    .line 1259
    new-instance v5, Landroid/widget/ScrollView;

    iget-object v7, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    invoke-direct {v5, v7}, Landroid/widget/ScrollView;-><init>(Landroid/content/Context;)V

    .line 1260
    .local v5, "scroller":Landroid/widget/ScrollView;
    invoke-virtual {v5, v2}, Landroid/widget/ScrollView;->addView(Landroid/view/View;)V

    .line 1261
    invoke-virtual {v0, v5}, Landroid/app/AlertDialog;->setView(Landroid/view/View;)V

    .line 1262
    new-instance v3, Lrexsee/core/browser/RexseePrompt$58;

    invoke-direct {v3, p0, v4, p2, p1}, Lrexsee/core/browser/RexseePrompt$58;-><init>(Lrexsee/core/browser/RexseePrompt;Landroid/widget/TimePicker;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;Lrexsee/core/browser/clazz/PromptArgumentsSheet;)V

    .line 1277
    .local v3, "listener":Landroid/content/DialogInterface$OnClickListener;
    const/4 v7, -0x1

    iget-object v8, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    invoke-virtual {v8}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v8

    const v9, 0x104000a

    invoke-virtual {v8, v9}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v8

    invoke-virtual {v0, v7, v8, v3}, Landroid/app/AlertDialog;->setButton(ILjava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    .line 1278
    iget-boolean v7, p1, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->cancelable:Z

    if-eqz v7, :cond_1

    const/4 v7, -0x2

    iget-object v8, p0, Lrexsee/core/browser/RexseePrompt;->mContext:Landroid/content/Context;

    invoke-virtual {v8}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v8

    const/high16 v9, 0x1040000

    invoke-virtual {v8, v9}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v8

    invoke-virtual {v0, v7, v8, v3}, Landroid/app/AlertDialog;->setButton(ILjava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    .line 1279
    :cond_1
    invoke-virtual {v0}, Landroid/app/AlertDialog;->show()V

    .line 1280
    return-void

    .line 1250
    .end local v3    # "listener":Landroid/content/DialogInterface$OnClickListener;
    .end local v5    # "scroller":Landroid/widget/ScrollView;
    :cond_2
    const/4 v7, 0x0

    goto :goto_0
.end method


# virtual methods
.method public add(Ljava/lang/String;Lrexsee/core/browser/RexseePrompt$OnPromptListener;)V
    .locals 1
    .param p1, "key"    # Ljava/lang/String;
    .param p2, "listener"    # Lrexsee/core/browser/RexseePrompt$OnPromptListener;

    .prologue
    .line 223
    iget-object v0, p0, Lrexsee/core/browser/RexseePrompt;->mMap:Ljava/util/HashMap;

    invoke-virtual {v0, p1, p2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 224
    return-void
.end method

.method public getInheritInterface(Lrexsee/core/browser/Browser;)Lrexsee/core/browser/clazz/JavascriptInterface;
    .locals 1
    .param p1, "childBrowser"    # Lrexsee/core/browser/Browser;

    .prologue
    .line 55
    iget-object v0, p1, Lrexsee/core/browser/Browser;->promptListeners:Lrexsee/core/browser/RexseePrompt;

    return-object v0
.end method

.method public getInterfaceName()Ljava/lang/String;
    .locals 2

    .prologue
    .line 51
    iget-object v0, p0, Lrexsee/core/browser/RexseePrompt;->mBrowser:Lrexsee/core/browser/Browser;

    if-nez v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    return-object v0

    :cond_0
    new-instance v0, Ljava/lang/StringBuilder;

    iget-object v1, p0, Lrexsee/core/browser/RexseePrompt;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v1, v1, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v1, v1, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v1, v1, Lrexsee/core/application/Resource;->prefix:Ljava/lang/String;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v1, "Prompt"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    goto :goto_0
.end method

.method public getNewInterface(Lrexsee/core/browser/Browser;)Lrexsee/core/browser/clazz/JavascriptInterface;
    .locals 1
    .param p1, "childBrowser"    # Lrexsee/core/browser/Browser;

    .prologue
    .line 59
    new-instance v0, Lrexsee/core/browser/RexseePrompt;

    invoke-direct {v0, p1}, Lrexsee/core/browser/RexseePrompt;-><init>(Lrexsee/core/browser/Browser;)V

    return-object v0
.end method

.method public isCanceled()Z
    .locals 1

    .prologue
    .line 1299
    iget-boolean v0, p0, Lrexsee/core/browser/RexseePrompt;->canceled:Z

    return v0
.end method

.method public list()[Ljava/lang/String;
    .locals 4

    .prologue
    .line 215
    iget-object v3, p0, Lrexsee/core/browser/RexseePrompt;->mMap:Ljava/util/HashMap;

    invoke-virtual {v3}, Ljava/util/HashMap;->keySet()Ljava/util/Set;

    move-result-object v3

    invoke-interface {v3}, Ljava/util/Set;->toArray()[Ljava/lang/Object;

    move-result-object v0

    .line 216
    .local v0, "arr":[Ljava/lang/Object;
    array-length v3, v0

    new-array v2, v3, [Ljava/lang/String;

    .line 217
    .local v2, "rtn":[Ljava/lang/String;
    const/4 v1, 0x0

    .local v1, "i":I
    :goto_0
    array-length v3, v0

    if-lt v1, v3, :cond_0

    .line 220
    return-object v2

    .line 218
    :cond_0
    aget-object v3, v0, v1

    invoke-virtual {v3}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v3

    aput-object v3, v2, v1

    .line 217
    add-int/lit8 v1, v1, 0x1

    goto :goto_0
.end method

.method public prompt(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    .locals 3
    .param p1, "type"    # Ljava/lang/String;
    .param p2, "argu"    # Ljava/lang/String;

    .prologue
    .line 1302
    new-instance v0, Lrexsee/core/browser/RexseePrompt$60;

    invoke-direct {v0, p0, p1, p2}, Lrexsee/core/browser/RexseePrompt$60;-><init>(Lrexsee/core/browser/RexseePrompt;Ljava/lang/String;Ljava/lang/String;)V

    .line 1319
    .local v0, "thread":Ljava/lang/Thread;
    const/4 v1, 0x0

    iput-object v1, p0, Lrexsee/core/browser/RexseePrompt;->syncRtn:Ljava/lang/String;

    .line 1320
    invoke-virtual {v0}, Ljava/lang/Thread;->start()V

    .line 1321
    :goto_0
    iget-object v1, p0, Lrexsee/core/browser/RexseePrompt;->syncRtn:Ljava/lang/String;

    if-eqz v1, :cond_0

    .line 1327
    const/4 v0, 0x0

    .line 1328
    iget-object v1, p0, Lrexsee/core/browser/RexseePrompt;->syncRtn:Ljava/lang/String;

    return-object v1

    .line 1323
    :cond_0
    const-wide/16 v1, 0x64

    :try_start_0
    invoke-static {v1, v2}, Ljava/lang/Thread;->sleep(J)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    .line 1324
    :catch_0
    move-exception v1

    goto :goto_0
.end method

.method public run(Ljava/lang/String;Ljava/lang/String;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V
    .locals 4
    .param p1, "type"    # Ljava/lang/String;
    .param p2, "arguString"    # Ljava/lang/String;
    .param p3, "returnListener"    # Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;

    .prologue
    .line 226
    iget-object v2, p0, Lrexsee/core/browser/RexseePrompt;->mMap:Ljava/util/HashMap;

    invoke-virtual {p1}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lrexsee/core/browser/RexseePrompt$OnPromptListener;

    .line 227
    .local v1, "listener":Lrexsee/core/browser/RexseePrompt$OnPromptListener;
    if-eqz v1, :cond_0

    .line 228
    const/4 v2, 0x0

    iput-boolean v2, p0, Lrexsee/core/browser/RexseePrompt;->canceled:Z

    .line 229
    new-instance v2, Lrexsee/core/browser/clazz/PromptArgumentsSheet;

    invoke-direct {v2}, Lrexsee/core/browser/clazz/PromptArgumentsSheet;-><init>()V

    invoke-virtual {v2, p2}, Lrexsee/core/browser/clazz/PromptArgumentsSheet;->parseArguments(Ljava/lang/String;)Lrexsee/core/browser/clazz/PromptArgumentsSheet;

    move-result-object v0

    .line 230
    .local v0, "argumentsSheet":Lrexsee/core/browser/clazz/PromptArgumentsSheet;
    invoke-virtual {v1, v0, p3}, Lrexsee/core/browser/RexseePrompt$OnPromptListener;->run(Lrexsee/core/browser/clazz/PromptArgumentsSheet;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V

    .line 234
    .end local v0    # "argumentsSheet":Lrexsee/core/browser/clazz/PromptArgumentsSheet;
    :goto_0
    return-void

    .line 232
    :cond_0
    const-string v2, "Prompt type not found."

    invoke-direct {p0, v2, p3}, Lrexsee/core/browser/RexseePrompt;->error(Ljava/lang/String;Lrexsee/core/browser/RexseePrompt$OnPromptReturnListener;)V

    goto :goto_0
.end method
